FINERACT-2181: Fix validation for add capitalized income to loan transaction

This commit is contained in:
mariiaKraievska
2025-06-22 22:35:36 +02:00
committed by Adam Saghy
parent a76c189a04
commit e4ab6110ff
3 changed files with 59 additions and 8 deletions
@@ -2385,6 +2385,9 @@ public class LoanProductGlobalInitializerStep implements FineractGlobalInitializ
.name(name97)//
.transactionProcessingStrategyCode(ADVANCED_PAYMENT_ALLOCATION.getValue())//
.loanScheduleType("PROGRESSIVE") //
.allowApprovedDisbursedAmountsOverApplied(false)//
.overAppliedCalculationType(null)//
.overAppliedNumber(null)//
.paymentAllocation(List.of(//
createPaymentAllocation("DEFAULT", "NEXT_INSTALLMENT"), //
createPaymentAllocation("GOODWILL_CREDIT", "LAST_INSTALLMENT"), //