save saving ui update and current account update priview section
This commit is contained in:
+5
-3
@@ -416,7 +416,9 @@ export class SavingsAccountDetailsStepComponent implements OnInit {
|
||||
cifNumber: this.primaryClientCif,
|
||||
sharePercentage: this.primaryHolderShare,
|
||||
isMandatory: true,
|
||||
isPrimary: true
|
||||
isPrimary: true,
|
||||
signingAuthority: 'Mandatory',
|
||||
role: 'Primary Account Holder'
|
||||
},
|
||||
...this.jointHolders.map((h) => ({
|
||||
clientId: h.clientId,
|
||||
@@ -425,8 +427,8 @@ export class SavingsAccountDetailsStepComponent implements OnInit {
|
||||
sharePercentage: h.sharePercentage,
|
||||
isPrimary: false,
|
||||
isMandatory: h.isMandatory,
|
||||
signingAuthority: h.signingAuthority || null,
|
||||
role: h.role || null
|
||||
signingAuthority: h.signingAuthority || (h.isMandatory ? 'Mandatory' : 'Optional'),
|
||||
role: h.role || 'Co-Holder'
|
||||
}))
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user