saving , current and RD account code update

This commit is contained in:
Nitesh Yadav
2026-04-22 18:28:14 +05:30
parent e9a9377148
commit fc1c5126fc
44 changed files with 5516 additions and 1552 deletions
@@ -34,6 +34,7 @@
<fa-icon icon="eye" size="sm"></fa-icon>
</ng-template>
<!-- Step 1: Details -->
<mat-step [stepControl]="currentAccountDetailsForm">
<ng-template matStepLabel>{{ 'labels.inputs.DETAILS' | translate }}</ng-template>
@@ -44,14 +45,43 @@
</mifosx-current-account-details-step>
</mat-step>
<mat-step [stepControl]="currentAccountTermsForm">
<ng-template matStepLabel>{{ 'labels.inputs.TERMS' | translate }}</ng-template>
<!-- Step 2: Currency -->
<mat-step>
<ng-template matStepLabel>CURRENCY</ng-template>
<mifosx-current-account-terms-step
<mifosx-current-account-currency-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
></mifosx-current-account-terms-step>
></mifosx-current-account-currency-step>
</mat-step>
<!-- Step 3: Term (Interest Rate) -->
<mat-step [stepControl]="currentAccountTermForm">
<ng-template matStepLabel>{{ 'labels.inputs.TERMS' | translate }}</ng-template>
<mifosx-current-account-term-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
></mifosx-current-account-term-step>
</mat-step>
<!-- Step 4: Settings -->
<mat-step>
<ng-template matStepLabel>SETTINGS</ng-template>
<mifosx-current-account-settings-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
></mifosx-current-account-settings-step>
</mat-step>
<!-- Step 5: Digital -->
<mat-step>
<ng-template matStepLabel>DIGITAL</ng-template>
<mifosx-current-account-digital-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
></mifosx-current-account-digital-step>
</mat-step>
<!-- Step 6: Charges -->
<mat-step>
<ng-template matStepLabel>{{ 'labels.inputs.CHARGES' | translate }}</ng-template>
@@ -61,14 +91,25 @@
[currencyCode]="currentAccountTermsForm.get('currencyCode')"
>
</mifosx-current-account-charges-step>
<!-- Hidden terms step to keep currencyCode form populated -->
<div style="display: none">
<mifosx-current-account-terms-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
[currentAccountTemplate]="currentAccountTemplate"
></mifosx-current-account-terms-step>
</div>
</mat-step>
<!-- Step 7: Preview -->
@if (currentAccountFormValid) {
<mat-step completed>
<ng-template matStepLabel>{{ 'labels.inputs.PREVIEW' | translate }}</ng-template>
<mifosx-current-account-preview-step
[currentAccountProductTemplate]="currentAccountProductTemplate"
[currentAccountTemplate]="currentAccountTemplate"
[currentAccountTermForm]="currentAccountTermForm"
[currentAccountSettingsForm]="currentAccountSettingsForm"
[currentAccountTermsForm]="currentAccountTermsForm"
[currentAccount]="currentAccount"
(submitEvent)="submit()"