FINERACT-2354: Re-aging - Accrual and Accrual Activity handling - Equal Amortization

This commit is contained in:
Soma Sörös
2026-01-19 19:29:21 +01:00
committed by Adam Saghy
parent 3a6f805d50
commit eecc54c224
10 changed files with 1758 additions and 145 deletions
@@ -474,7 +474,10 @@ public class LoanAccrualsProcessingServiceImpl implements LoanAccrualsProcessing
final LoanReAgeParameter loanReAgeParameter = reAgeTransaction != null ? reAgeTransaction.getLoanReAgeParameter() : null;
if (installment.isAdditional() || (installment.isReAged() && loanReAgeParameter != null
&& !LoanReAgeInterestHandlingType.DEFAULT.equals(loanReAgeParameter.getInterestHandlingType()))) {
&& !(LoanReAgeInterestHandlingType.EQUAL_AMORTIZATION_FULL_INTEREST.equals(loanReAgeParameter.getInterestHandlingType())
|| LoanReAgeInterestHandlingType.EQUAL_AMORTIZATION_PAYABLE_INTEREST
.equals(loanReAgeParameter.getInterestHandlingType())
|| LoanReAgeInterestHandlingType.DEFAULT.equals(loanReAgeParameter.getInterestHandlingType())))) {
return;
}
final AccrualPeriodData period = accrualPeriods.getPeriodByInstallmentNumber(installment.getInstallmentNumber());