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
@@ -59,6 +59,8 @@ export class SavingsAccountDetailsStepComponent implements OnInit {
savingsProductSelected = false;
introducerId: number | null = null;
introducerName: string | null = null;
introducerCif: string | null = null;
/** Savings Account Template with product data */
@Output() savingsAccountProductTemplate = new EventEmitter();
@@ -168,14 +170,18 @@ export class SavingsAccountDetailsStepComponent implements OnInit {
/**
* Returns savings account form value.
*/
onIntroducerChange(event: { clientId: number; displayName: string } | null): void {
onIntroducerChange(event: { clientId: number; displayName: string; cifNumber?: string } | null): void {
this.introducerId = event?.clientId ?? null;
this.introducerName = event?.displayName ?? null;
this.introducerCif = event?.cifNumber ?? null;
}
get savingsAccountDetails() {
const value = this.savingsAccountDetailsForm.getRawValue();
if (this.introducerId) {
value.introducerId = this.introducerId;
value.introducerName = this.introducerName;
value.introducerCif = this.introducerCif;
}
return value;
}