Cocoa-Puffs commented on code in PR #4651:
URL: https://github.com/apache/fineract/pull/4651#discussion_r2096022708


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -1550,6 +1552,13 @@ public BigDecimal 
getPrincipalAmountForRepaymentSchedule() {
         } else {
             principalAmount = getPrincipal().getAmount();
         }
+        if (isDisbursed()) {

Review Comment:
   We talked about that the "principal_amount" attribute of the loans is used 
elsewhere as principal that was disbursed. That means that I should not add the 
capitalized income portions to this value. This change was unfortunately left 
in. I'll remove it.



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