feat: update savings/current/rd account UI flows
This commit is contained in:
@@ -113,7 +113,7 @@ export class CreateSavingsAccountComponent {
|
||||
const locale = this.settingsService.language.code;
|
||||
const dateFormat = this.settingsService.dateFormat;
|
||||
const monthDayFormat = 'dd MMMM';
|
||||
const savingsAccount = {
|
||||
const savingsAccount: any = {
|
||||
...this.savingsAccount,
|
||||
charges: [],
|
||||
submittedOnDate: this.dateUtils.formatDate(this.savingsAccount.submittedOnDate, dateFormat),
|
||||
@@ -121,6 +121,17 @@ export class CreateSavingsAccountComponent {
|
||||
monthDayFormat,
|
||||
locale
|
||||
};
|
||||
|
||||
// Digital Facilities
|
||||
if (this.savingsAccountDigital?.accountFacilityConfig) {
|
||||
savingsAccount.accountFacilityConfig = this.savingsAccountDigital.accountFacilityConfig;
|
||||
}
|
||||
|
||||
// Nominee
|
||||
if (this.savingsAccountNominee) {
|
||||
savingsAccount.nominee = this.savingsAccountNominee;
|
||||
}
|
||||
|
||||
if (this.savingsAccountTemplate.clientId) {
|
||||
savingsAccount.clientId = this.savingsAccountTemplate.clientId;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user