adamsaghy commented on code in PR #5053:
URL: https://github.com/apache/fineract/pull/5053#discussion_r2432011837
##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java:
##########
@@ -3021,7 +3361,7 @@ private void
updateRepaymentPeriodsAfterAccelerateMaturityDate(final Progressive
final RepaymentPeriod lastPeriod =
periodsBeforeAccelerateMaturity.getLast();
- final List<RepaymentPeriod> periodsToRemove =
repaymentPeriods.stream().filter(rp ->
rp.getFromDate().isAfter(transactionDate))
+ final List<RepaymentPeriod> periodsToRemove =
repaymentPeriods.stream().filter(rp ->
!rp.getFromDate().isBefore(transactionDate))
Review Comment:
Just the opposite. With the new changes you are removing the period which
due date is 1st of March (if there was any).
--
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]