refactor: organization module (#1203)

See: #1196
This commit is contained in:
Karan Takalkar
2020-08-14 19:05:26 +05:30
committed by GitHub
parent 8208f6bb01
commit 048a3dd951
46 changed files with 118 additions and 96 deletions
@@ -1,6 +1,6 @@
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
<button mat-raised-button color="primary" [routerLink]="['create']">
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_ENTITY_DATATABLE_CHECK'">
<fa-icon icon="plus"></fa-icon>&nbsp;&nbsp;
Create
</button>
@@ -53,7 +53,7 @@
<ng-container matColumnDef="actions">
<th mat-header-cell *matHeaderCellDef> Actions </th>
<td mat-cell *matCellDef="let entityDataTableCheck">
<button mat-button (click)="deleteEntityDataTableCheck(entityDataTableCheck.id)" color="warn">
<button mat-button (click)="deleteEntityDataTableCheck(entityDataTableCheck.id)" color="warn" *mifosxHasPermission="'DELETE_ENTITY_DATATABLE_CHECK'">
<fa-icon icon="trash"></fa-icon>&nbsp;&nbsp;Delete
</button>
</td>