Fix to mark with strike the reversed FD Account transactions
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
294ae1e340
commit
c691658ed8
@@ -1,10 +1,16 @@
|
||||
<div class="container">
|
||||
<span *ngIf="!viewAccountTransferData.reversed">
|
||||
<button mat-raised-button color="warn" *mifosxHasPermission="'ADJUST_ACCOUNTTRANSFER'" >
|
||||
<fa-icon icon="undo" class="m-r-10"></fa-icon>{{ 'labels.buttons.Undo' | translate}}
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<mat-card>
|
||||
|
||||
<mat-card-content>
|
||||
|
||||
<div fxLayout="row wrap" fxLayout.lt-md="column">
|
||||
<div fxFlex="100%" [ngClass]="transactionColor()"></div>
|
||||
|
||||
<h3 class="mat-h3" fxFlexFill>{{"labels.heading.Transaction Details" | translate}}</h3>
|
||||
|
||||
|
||||
@@ -35,4 +35,8 @@ export class ViewAccountTransferComponent {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
transactionColor(): string {
|
||||
return this.viewAccountTransferData.reversed ? 'undo' : 'active';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user