feat(savings,deposits,current-accounts): streamline account activation flow
Matches the backend change that stopped auto-depositing money at activation: removes the opening-balance field from every Activate screen (Savings, Current, FD, RD) since funding now happens as a separate deposit afterward, and removes the Digital-Facility step from every Create wizard since every facility starts disabled by default and gets turned on later through Edit Nominee & Features. Also merges Approve+Activate into a single action for Savings, Current, FD and RD accounts -- one click takes the account straight to Active instead of two separate screens.
This commit is contained in:
+4
-6
@@ -124,13 +124,11 @@ export class SavingsAccountPreviewStepComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
/** Returns user-modified digital config (from digital step), falling back to product template */
|
||||
/** Digital facility config as actually captured by a digital step in this wizard -- no fallback
|
||||
* to the product's own defaults, since account creation no longer has a digital step at all and
|
||||
* must not preview facilities the officer never actually chose. */
|
||||
get digitalFacilityConfig(): any {
|
||||
return (
|
||||
this.savingsAccountDigital?.accountFacilityConfig ??
|
||||
this.savingsAccountProductTemplate?.accountFacilityConfig ??
|
||||
null
|
||||
);
|
||||
return this.savingsAccountDigital?.accountFacilityConfig ?? null;
|
||||
}
|
||||
|
||||
get hasDigitalSection(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user