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


##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/data/LoanSchedulePlan.java:
##########
@@ -59,6 +62,7 @@ public static LoanSchedulePlan from(LoanScheduleModel model) {
                         downPaymentPeriod.getPrincipalDue().getAmount(), //
                         
downPaymentPeriod.getOutstandingLoanBalance().getAmount());//
             } else if (periodModel instanceof LoanScheduleModelRepaymentPeriod 
repaymentPeriod) {
+                
remainingTotalOutstandingRef.set(remainingTotalOutstandingRef.get().subtract(repaymentPeriod.getTotalDue().getAmount()));

Review Comment:
   Please also do this for Down-payment period...



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