|
|
|
@@ -233,29 +233,33 @@
|
|
|
|
|
<ng-container matColumnDef="Actions">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
|
|
|
|
<td mat-cell *matCellDef="let element">
|
|
|
|
|
<button *ngIf="element.status.active" class="account-action-button" mat-raised-button color="primary">
|
|
|
|
|
<button *ngIf="element.status.active" class="account-action-button" mat-raised-button color="primary"
|
|
|
|
|
(click)="routeEdit($event)" [routerLink]="['../','savings-accounts', element.id, 'actions', 'Deposit']">
|
|
|
|
|
<i class="fa fa-arrow-up" matTooltip="Deposit"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button *ngIf="element.status.active" class="account-action-button" mat-raised-button color="primary">
|
|
|
|
|
<button *ngIf="element.status.active" class="account-action-button" mat-raised-button color="primary"
|
|
|
|
|
(click)="routeEdit($event)" [routerLink]="['../','savings-accounts', element.id, 'actions', 'Withdrawal']">
|
|
|
|
|
<i class="fa fa-arrow-down" matTooltip="Withdraw"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button *ngIf="element.status.submittedAndPendingApproval" class="account-action-button" mat-raised-button
|
|
|
|
|
color="primary">
|
|
|
|
|
<button *ngIf="element.status.submittedAndPendingApproval" class="account-action-button" mat-raised-button color="primary"
|
|
|
|
|
(click)="routeEdit($event)" [routerLink]="['../','savings-accounts', element.id, 'actions', 'Approve']">
|
|
|
|
|
<i class="fa fa-check" matTooltip="Approve"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button *ngIf="!element.status.submittedAndPendingApproval && !element.status.active"
|
|
|
|
|
class="account-action-button" mat-raised-button color="primary">
|
|
|
|
|
class="account-action-button" mat-raised-button color="primary"
|
|
|
|
|
(click)="routeEdit($event)" [routerLink]="['../','savings-accounts', element.id, 'actions', 'Undo Approval']">
|
|
|
|
|
<i class="fa fa-undo" matTooltip="Undo Approval"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button *ngIf="!element.status.submittedAndPendingApproval && !element.status.active"
|
|
|
|
|
class="account-action-button" mat-raised-button color="primary">
|
|
|
|
|
class="account-action-button" mat-raised-button color="primary"
|
|
|
|
|
(click)="routeEdit($event)" [routerLink]="['../','savings-accounts', element.id, 'actions', 'Activate']">
|
|
|
|
|
<i class="fa fa-check-circle" matTooltip="Activate"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<tr mat-header-row *matHeaderRowDef="openSavingsColumns"></tr>
|
|
|
|
|
<tr mat-row *matRowDef="let row; columns: openSavingsColumns;" [routerLink]="['../', 'savingsaccounts', row.id, 'transactions']"></tr>
|
|
|
|
|
<tr mat-row *matRowDef="let row; columns: openSavingsColumns;" [routerLink]="['../', 'savings-accounts', row.id, 'transactions']"></tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
@@ -280,7 +284,7 @@
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
|
|
|
|
|
<tr mat-row *matRowDef="let row; columns: closedSavingsColumns;" [routerLink]="['../', 'savingsaccounts', row.id, 'transactions']"></tr>
|
|
|
|
|
<tr mat-row *matRowDef="let row; columns: closedSavingsColumns;" [routerLink]="['../', 'savings-accounts', row.id, 'transactions']"></tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|