mariiaKraievska commented on code in PR #5122:
URL: https://github.com/apache/fineract/pull/5122#discussion_r2534464574


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/delinquency/service/DelinquencyReadPlatformServiceImpl.java:
##########
@@ -331,16 +331,18 @@ private LocalDate getNextUnpaidInstallmentDueDate(final 
Loan loan) {
         LocalDate nextUnpaidInstallmentDate = expectedMaturityDate;
 
         for (final LoanRepaymentScheduleInstallment installment : 
installments) {
-            boolean isCurrentDateBeforeInstallmentAndLoanPeriod = 
DateUtils.isBefore(currentBusinessDate, installment.getDueDate())
-                    && DateUtils.isBefore(currentBusinessDate, 
expectedMaturityDate);
-            if (installment.isDownPayment()) {
-                isCurrentDateBeforeInstallmentAndLoanPeriod = 
DateUtils.isEqual(currentBusinessDate, installment.getDueDate())
+            if (!installment.isPaidMovedPaidDuringReAging()) {

Review Comment:
   Renamed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to