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
@@ -58,6 +58,13 @@ export class SavingsAccountCurrencyStepComponent {
|
||||
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}%`;
|
||||
|
||||
+4
@@ -33,6 +33,10 @@
|
||||
|
||||
&__primary {
|
||||
background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
|
||||
|
||||
--mdc-protected-button-container-color: transparent !important;
|
||||
--mdc-filled-button-container-color: transparent !important;
|
||||
|
||||
color: #fff !important;
|
||||
box-shadow: 0 4px 12px -2px rgb(4 120 87 / 35%) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user