+1
-2
@@ -120,7 +120,7 @@ export class CreateRecurringDepositsAccountComponent implements OnInit {
|
||||
charges: this.recurringDepositAccount.charges.map((charge: any) => ({
|
||||
chargeId: charge.id,
|
||||
amount: charge.amount,
|
||||
dueDate: charge.dueDate,
|
||||
dueDate: charge.dueDate && this.datePipe.transform(charge.dueDate, dateFormat),
|
||||
feeOnMonthDay: charge.feeOnMonthDay,
|
||||
feeInterval: charge.feeInterval
|
||||
})),
|
||||
@@ -131,7 +131,6 @@ export class CreateRecurringDepositsAccountComponent implements OnInit {
|
||||
monthDayFormat,
|
||||
locale
|
||||
};
|
||||
console.log('daaa: ', recurringDepositAccount);
|
||||
|
||||
this.recurringDepositsService.createRecurringDepositAccount(recurringDepositAccount).subscribe((response: any) => {
|
||||
this.router.navigate(['../', response.resourceId], { relativeTo: this.route });
|
||||
|
||||
Reference in New Issue
Block a user