adamsaghy commented on code in PR #3808:
URL: https://github.com/apache/fineract/pull/3808#discussion_r1537680167


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/domain/DefaultScheduledDateGenerator.java:
##########
@@ -104,6 +104,12 @@ public LocalDate generateNextRepaymentDate(final LocalDate 
lastRepaymentDate, fi
             }
         }
 
+        final LocalDate maxDateForFixedLength = 
loanApplicationTerms.calculateMaxDateForFixedLength();
+        // Fixed Length validation
+        if (maxDateForFixedLength != null && 
DateUtils.isAfter(dueRepaymentPeriodDate, maxDateForFixedLength)) {

Review Comment:
   I dont see any changes here... why do we need this for the 
"generateNextRepaymentDate"?
   
   I dont think we need this at all. Please let me know if i am mistaken.



-- 
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