update loan product code and rd,fd,saving,current account validation add

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Nitesh Yadav
2026-05-14 07:40:04 +05:30
co-authored by Claude Sonnet 4.6
parent ed45c8637e
commit d0370781e8
30 changed files with 1286 additions and 213 deletions
@@ -226,8 +226,20 @@ export class GeneralTabComponent implements OnDestroy {
clientAccountData: any;
/** Loan Accounts Data */
loanAccounts: any[] = [];
/** Savings Accounts Data */
/** Savings Accounts Data (all: savings + FD + RD — filtered per section) */
savingAccounts: any[] = [];
get pureSavingsCount(): number {
return this.savingAccounts.filter((a: any) => a.depositType?.code === 'depositAccountType.savingsDeposit').length;
}
get fixedDepositCount(): number {
return this.savingAccounts.filter((a: any) => a.depositType?.code === 'depositAccountType.fixedDeposit').length;
}
get recurringDepositCount(): number {
return this.savingAccounts.filter((a: any) => a.depositType?.code === 'depositAccountType.recurringDeposit').length;
}
/** Current Accounts Data */
currentAccounts: any[] = [];
/** Shares Accounts Data */