oleksii-novikov-onix commented on code in PR #5251:
URL: https://github.com/apache/fineract/pull/5251#discussion_r2704412171


##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanproduct/calc/data/RepaymentPeriod.java:
##########
@@ -105,6 +105,9 @@ public class RepaymentPeriod {
     @Setter
     @Getter
     private boolean reAgedEarlyRepaymentHolder;
+    @Setter
+    @Getter
+    private boolean reAmortized;

Review Comment:
   Reverted



##########
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:
   Reverted



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