FINERACT-1449-Loan-advance-payment-issue-fix

This commit is contained in:
Manoj VM
2022-04-26 15:37:03 +02:00
committed by Arnold Gálovics
parent 9d212ba471
commit 6d4e731ff9
3 changed files with 105 additions and 2 deletions
@@ -174,8 +174,9 @@ public abstract class AbstractLoanScheduleGenerator implements LoanScheduleGener
applyLoanVariationsForPartialScheduleGenerate(loanApplicationTerms, scheduleParams, interestRates,
interestRatesForInstallments);
isFirstRepayment = false;
if (!firstRepaymentdate.isAfter(scheduleParams.getActualRepaymentDate())) {
isFirstRepayment = false;
}
}
while (!scheduleParams.getOutstandingBalance().isZero() || !scheduleParams.getDisburseDetailMap().isEmpty()) {
LocalDate previousRepaymentDate = scheduleParams.getActualRepaymentDate();