33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
<div class="container mat-elevation-z8">
|
|
<mat-card>
|
|
<form [formGroup]="undoWriteOffLoanForm" (ngSubmit)="submit()">
|
|
<mat-card-content>
|
|
<div class="layout-column">
|
|
<p class="m-b-20">
|
|
{{ 'labels.text.Undo Write-off Description' | translate }}
|
|
</p>
|
|
|
|
<mat-form-field>
|
|
<mat-label>{{ 'labels.inputs.Note' | translate }}</mat-label>
|
|
<textarea matInput formControlName="note" cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<mat-card-actions class="layout-row align-center gap-5px responsive-column">
|
|
<button type="button" mat-raised-button [routerLink]="['../../general']">
|
|
{{ 'labels.buttons.Cancel' | translate }}
|
|
</button>
|
|
<button
|
|
mat-raised-button
|
|
color="primary"
|
|
[disabled]="!undoWriteOffLoanForm.valid"
|
|
*mifosxHasPermission="'UNDOWRITEOFF_LOAN'"
|
|
>
|
|
{{ 'labels.buttons.Submit' | translate }}
|
|
</button>
|
|
</mat-card-actions>
|
|
</mat-card-content>
|
|
</form>
|
|
</mat-card>
|
|
</div>
|