Merge pull request #2537 from alberto-art3ch/fix/loan_multidisburse_closed_allow_disburse

WEB-230: Disbursement option hasn't appeared in menu after MIR and CRB with Lo…
This commit is contained in:
Jose Alberto Hernandez
2025-06-26 21:47:36 -05:00
committed by GitHub
@@ -285,6 +285,14 @@ export class LoansViewComponent implements OnInit {
taskPermissionName: 'UNDO_REAMORTIZE_LOAN'
});
}
} else if (this.status === 'Closed (obligations met)' || this.status === 'Overpaid') {
if (this.loanDetailsData.multiDisburseLoan) {
this.buttonConfig.addButton({
name: 'Disburse',
icon: 'hand-holding-usd',
taskPermissionName: 'DISBURSE_LOAN'
});
}
}
}