feat: account charges UI — current account, FD, RD stepper redesign
Redesigned create-account stepper UI for current accounts, fixed deposits, and recurring deposits: updated layout, preview steps, interest rate chart step, currency step, and detail step components. Savings preview styling and currency step also updated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
64c76a9806
commit
3370a95235
+7
@@ -76,6 +76,13 @@ export class CurrentAccountCurrencyStepComponent implements OnChanges {
|
||||
this.nomineeError = 'This person is already added as a nominee.';
|
||||
return;
|
||||
}
|
||||
const relationshipLower = data.relationshipName?.toLowerCase();
|
||||
if (relationshipLower === 'father' || relationshipLower === 'mother' || relationshipLower === 'wife') {
|
||||
if (this.nominees.some((n) => n.relationshipName?.toLowerCase() === relationshipLower)) {
|
||||
this.nomineeError = `Only one ${data.relationshipName} can be added as a nominee.`;
|
||||
return;
|
||||
}
|
||||
}
|
||||
const newTotal = this.totalShare + (+data.percentageShare || 0);
|
||||
if (newTotal > 100) {
|
||||
this.nomineeError = `Total share cannot exceed 100%. Remaining: ${this.remainingShare}%`;
|
||||
|
||||
Reference in New Issue
Block a user