feat: add edit recurring deposit account (#1023)

Fixes: #1017
This commit is contained in:
Muskan Khedia
2020-07-08 12:57:21 +05:30
committed by GitHub
parent 74b219fe00
commit fc2b352311
16 changed files with 438 additions and 18 deletions
@@ -35,8 +35,9 @@
</ng-container>
<ng-container matColumnDef="repeatsOn">
<th mat-header-cell *matHeaderCellDef> Repeats On (M/d) </th>
<td mat-cell *matCellDef="let charge"> {{ charge.feeOnMonthDay ? charge.feeOnMonthDay.join('/') : '' }} </td>
<th mat-header-cell *matHeaderCellDef> Repeats On </th>
<td mat-cell *matCellDef="let charge">
{{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | date: 'dd MMMM') : 'Unassigned'}} </td>
</ng-container>
<ng-container matColumnDef="calculationType">
@@ -147,6 +147,9 @@ export class RecurringDepositsAccountViewComponent implements OnInit {
case 'Withdraw By Client':
this.router.navigate([`actions/${name}`], { relativeTo: this.route });
break;
case 'Modify Application':
this.router.navigate(['edit-recurring-deposit-account'], { relativeTo: this.route });
break;
case 'Delete':
this.deleteRecurringDepositsAccount();
break;