adamsaghy commented on code in PR #5251:
URL: https://github.com/apache/fineract/pull/5251#discussion_r2698996524
##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanproduct/calc/ProgressiveEMICalculator.java:
##########
@@ -899,7 +899,7 @@ private LocalDate calculateDateForFixedLength(final
ProgressiveLoanInterestSched
private List<RepaymentPeriod> findPossiblyOverdueRepaymentPeriods(final
LocalDate targetDate,
final ProgressiveLoanInterestScheduleModel model) {
return model.repaymentPeriods().stream() //
- .filter(repaymentPeriod ->
!repaymentPeriod.isReAgedEarlyRepaymentHolder()
+ .filter(repaymentPeriod ->
!repaymentPeriod.isReAgedEarlyRepaymentHolder() &&
!repaymentPeriod.isReAmortized()
Review Comment:
This seems wrong... reaged and reamortized periods can be overdue...
--
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]