feat: add loan button (undo disbursal) (#852)

Fixes: #827
This commit is contained in:
Rishabh Verma
2020-07-14 16:44:26 +05:30
committed by GitHub
parent ffea1b5eaf
commit 39bf327fb2
7 changed files with 103 additions and 4 deletions
@@ -0,0 +1,17 @@
<div class="container">
<mat-card-content>
<mat-form-field fxLayoutAlign="center">
<mat-label>Note</mat-label>
<textarea matInput [formControl]="note"></textarea>
</mat-form-field>
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
<button type="button" mat-raised-button [routerLink]="['../general']">Cancel</button>
<button mat-raised-button color="primary" (click)="submit()" *mifosxHasPermission="'DISBURSALUNDO_LOAN'">Submit</button>
</mat-card-actions>
</mat-card-content>
</div>