feat: add recurring deposit action (approve) (#1009)

Fixes: #1008
This commit is contained in:
Muskan Khedia
2020-07-07 19:40:00 +05:30
committed by GitHub
parent 1568638424
commit 24ecbb1758
9 changed files with 163 additions and 5 deletions
@@ -438,7 +438,8 @@
<th mat-header-cell *matHeaderCellDef> Actions </th>
<td mat-cell *matCellDef="let element">
<ng-container *ngIf="element.status.submittedAndPendingApproval">
<button class="account-action-button" mat-raised-button *mifosxHasPermission="'APPROVE_SAVINGSACCOUNT'" color="primary">
<button class="account-action-button" mat-raised-button *mifosxHasPermission="'APPROVE_SAVINGSACCOUNT'"
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Approve']" color="primary">
<i class="fa fa-check"></i>
</button>
</ng-container>
@@ -446,12 +447,12 @@
<button
class="account-action-button" mat-raised-button color="primary" (click)="routeEdit($event)"
*mifosxHasPermission="'APPROVALUNDO_SAVINGSACCOUNT'"
[routerLink]="['../','recurring-deposits-accounts', element.id, 'actions', 'Undo Approval']">
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Undo Approval']">
<i class="fa fa-undo"></i>
</button>
<button class="account-action-button" mat-raised-button color="primary" (click)="routeEdit($event)"
*mifosxHasPermission="'ACTIVATE_SAVINGSACCOUNT'"
[routerLink]="['../','recurring-deposits-accounts', element.id, 'actions', 'Activate']">
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Activate']">
<i class="fa fa-check-circle"></i>
</button>
</ng-container>