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
@@ -36,6 +36,7 @@ export interface NomineeData {
// Linked client fields
clientId?: number;
displayName?: string;
cifNumber?: string;
}
const RELATIONSHIPS = [
@@ -98,6 +99,7 @@ export class NomineeFormComponent implements OnInit {
clientDob = '';
clientAadhaar = '';
clientPan = '';
clientCifNumber = '';
linkedRelationship = '';
linkedShare = 100;
@@ -177,7 +179,12 @@ export class NomineeFormComponent implements OnInit {
this.searchResults = [];
this.searchText = '';
this.fetchLinkedClientData(client.id);
this.nomineeChange.emit({ mode: 'linked', clientId: client.id, displayName: client.displayName });
this.nomineeChange.emit({
mode: 'linked',
clientId: client.id,
displayName: client.displayName,
cifNumber: client.accountNo || client.cifNumber || ''
});
}
removeLinked(): void {
@@ -191,6 +198,7 @@ export class NomineeFormComponent implements OnInit {
mode: 'linked',
clientId: this.selectedClient.id,
displayName: this.selectedClient.displayName,
cifNumber: this.selectedClient.accountNo || this.selectedClient.cifNumber || '',
relationship: rel,
nomineeShare: this.linkedShare
});
@@ -204,6 +212,7 @@ export class NomineeFormComponent implements OnInit {
this.clientDob = '';
this.clientAadhaar = '';
this.clientPan = '';
this.clientCifNumber = '';
this.searchText = '';
this.searchResults = [];
this.linkedRelationship = '';