saving account,current account and rd account modify based on new update
This commit is contained in:
@@ -31,7 +31,7 @@ export class IntroducerSearchComponent {
|
||||
private clientsService = inject(ClientsService);
|
||||
private sanitizer = inject(DomSanitizer);
|
||||
|
||||
@Output() introducerChange = new EventEmitter<{ clientId: number; displayName: string } | null>();
|
||||
@Output() introducerChange = new EventEmitter<{ clientId: number; displayName: string; cifNumber?: string } | null>();
|
||||
|
||||
entryMode: 'linked' = 'linked';
|
||||
searchText = '';
|
||||
@@ -81,7 +81,11 @@ export class IntroducerSearchComponent {
|
||||
this.linkedProfileImage = null;
|
||||
this.linkedKycStatus = null;
|
||||
this.fetchLinkedClientData(client.id);
|
||||
this.introducerChange.emit({ clientId: client.id, displayName: client.displayName });
|
||||
this.introducerChange.emit({
|
||||
clientId: client.id,
|
||||
displayName: client.displayName,
|
||||
cifNumber: client.cifNumber || client.accountNumber || ''
|
||||
});
|
||||
}
|
||||
|
||||
removeClient(): void {
|
||||
|
||||
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user