FINERACT-2308: Allow approval and disbursal above loan applied amount with non multibursal loan product

This commit is contained in:
Jose Alberto Hernandez
2025-06-18 15:15:28 +02:00
committed by Adam Saghy
parent 38a5686df8
commit bb29932658
5 changed files with 82 additions and 20 deletions
@@ -410,7 +410,7 @@ public class LoanProduct extends AbstractPersistableCustom<Long> {
}
if (this.allowApprovedDisbursedAmountsOverApplied) {
if (!this.disallowExpectedDisbursements) {
if (this.isMultiDisburseLoan() && !this.disallowExpectedDisbursements) {
throw new LoanProductGeneralRuleException(
"disallowExpectedDisbursements.not.set.allowApprovedDisbursedAmountsOverApplied.cant.be.set",
"Disallow Expected Disbursals Not Set - Allow Approved / Disbursed Amounts Over Applied Can't Be Set");