You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2022/09/16 15:57:31 UTC

[GitHub] [fineract] josehernandezfintecheandomx commented on a diff in pull request #2519: FINERACT-1722: Fix loan repayment schedule with multitranche

josehernandezfintecheandomx commented on code in PR #2519:
URL: https://github.com/apache/fineract/pull/2519#discussion_r973173184


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -5240,6 +5231,25 @@ public ChangedTransactionDetail updateDisbursementDateAndAmountForTranche(final
         return changedTransactionDetail;
     }
 
+    public BigDecimal getPrincipalAmountForRepaymentSchedule() {
+        BigDecimal principalAmount = BigDecimal.ZERO;
+
+        if (isMultiDisburmentLoan() && isDisbursed()) {

Review Comment:
   Done for the Integration Test



-- 
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: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org