feat: edit fixed deposits account (#1011)

Fixes: #1010
This commit is contained in:
Karan Takalkar
2020-07-07 20:51:17 +05:30
committed by GitHub
parent 24ecbb1758
commit 5f6422e3f1
19 changed files with 432 additions and 29 deletions
@@ -1,6 +1,7 @@
<div class="container">
<mat-horizontal-stepper class="mat-elevation-z8" labelPosition="bottom" #fixedDepositAccountStepper>
<ng-template matStepperIcon="number">
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
</ng-template>
@@ -71,7 +72,7 @@
<mifosx-fixed-deposit-account-interest-rate-chart-step
[fixedDepositsAccountTemplate]="fixedDepositsAccountTemplate"
[fixedDepositsAccountProductTemplate]="fixedDepositsAccountProductTemplate">>
[fixedDepositsAccountProductTemplate]="fixedDepositsAccountProductTemplate">
</mifosx-fixed-deposit-account-interest-rate-chart-step>
</mat-step>
@@ -127,7 +127,7 @@ export class CreateFixedDepositAccountComponent {
charges: this.fixedDepositAccount.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 && this.datePipe.transform([2000].concat(charge.feeOnMonthDay), monthDayFormat),
feeInterval: charge.feeInterval
})),