Allow Undo Loan re-aging transaction

This commit is contained in:
Jose Alberto Hernandez
2024-03-05 08:54:45 -06:00
parent b76b61bae5
commit 2ac05d26d8
16 changed files with 81 additions and 43 deletions
@@ -28,4 +28,4 @@
<mifosx-charge-off [dataObject]="actionButtonData" *ngIf="actions['Charge-Off']"></mifosx-charge-off>
<mifosx-undo-command [actionName]="actionName" *ngIf="actions['Undo Charge-Off']"></mifosx-undo-command>
<mifosx-asset-transfer-loan *ngIf="actions['Sell Loan'] || actions['Buy Back Loan']"></mifosx-asset-transfer-loan>
<mifosx-loan-reaging [dataObject]="actionButtonData" *ngIf="actions['Re-Ageing']"></mifosx-loan-reaging>
<mifosx-loan-reaging [dataObject]="actionButtonData" *ngIf="actions['Re-Age']"></mifosx-loan-reaging>
@@ -45,7 +45,7 @@ export class LoanAccountActionsComponent {
'Undo Charge-Off': boolean,
'Sell Loan': boolean,
'Buy Back Loan': boolean,
'Re-Ageing': boolean
'Re-Age': boolean
} = {
'Close': false,
'Undo Approval': false,
@@ -79,7 +79,7 @@ export class LoanAccountActionsComponent {
'Undo Charge-Off': false,
'Sell Loan': false,
'Buy Back Loan': false,
'Re-Ageing': false
'Re-Age': false
};
actionButtonData: any;