saving account,current account and rd account modify based on new update

This commit is contained in:
Nitesh Yadav
2026-04-27 10:55:03 +05:30
parent 5fb25edca5
commit e4516934a7
36 changed files with 4302 additions and 663 deletions
@@ -92,6 +92,8 @@
[savingsAccountTemplate]="savingsAccountTemplate"
[savingsAccountTermsForm]="savingsAccountTermsForm"
[savingsAccount]="savingsAccount"
[savingsAccountDigital]="savingsAccountDigital"
[savingsAccountNominee]="savingsAccountNominee"
(submitEvent)="submit()"
>
</mifosx-savings-account-preview-step>
@@ -15,6 +15,7 @@ import { FormGroup } from '@angular/forms';
import { SavingsAccountDetailsStepComponent } from '../savings-account-stepper/savings-account-details-step/savings-account-details-step.component';
import { SavingsAccountCurrencyStepComponent } from '../savings-account-stepper/savings-account-currency-step/savings-account-currency-step.component';
import { SavingsAccountDigitalStepComponent } from '../savings-account-stepper/savings-account-digital-step/savings-account-digital-step.component';
import { SavingsAccountSettingsStepComponent } from '../savings-account-stepper/savings-account-settings-step/savings-account-settings-step.component';
/** Custom Services */
import { SavingsService } from '../savings.service';
@@ -69,6 +70,12 @@ export class CreateSavingsAccountComponent {
@ViewChild(SavingsAccountDetailsStepComponent, { static: true })
savingsAccountDetailsStep: SavingsAccountDetailsStepComponent;
@ViewChild(SavingsAccountDigitalStepComponent)
savingsAccountDigitalStep: SavingsAccountDigitalStepComponent;
@ViewChild(SavingsAccountCurrencyStepComponent)
savingsAccountCurrencyStep: SavingsAccountCurrencyStepComponent;
constructor() {
this.route.data.subscribe((data: { savingsAccountTemplate: any }) => {
this.savingsAccountTemplate = data.savingsAccountTemplate;
@@ -94,6 +101,14 @@ export class CreateSavingsAccountComponent {
};
}
get savingsAccountDigital() {
return this.savingsAccountDigitalStep?.savingsAccountDigital ?? null;
}
get savingsAccountNominee() {
return this.savingsAccountCurrencyStep?.nomineeData ?? null;
}
submit() {
const locale = this.settingsService.language.code;
const dateFormat = this.settingsService.dateFormat;