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


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanRepaymentScheduleService.java:
##########
@@ -353,23 +353,33 @@ private List<LoanSchedulePeriodDataWrapper> 
collectEligibleCapitalizedIncomeData
 
     private BigDecimal fillLoanSchedulePeriodData(List<LoanSchedulePeriodData> 
periods,
             List<LoanSchedulePeriodDataWrapper> combinedDataList, BigDecimal 
disbursementChargeAmount, BigDecimal waivedChargeAmount,
-            BigDecimal outstandingLoanPrincipalBalance) {
+            BigDecimal outstandingLoanPrincipalBalance, boolean 
allowFullTermForTranche) {
         // Process all collected data in chronological order
         for (LoanSchedulePeriodDataWrapper dataItem : combinedDataList) {
             LoanSchedulePeriodData periodData;
             if (dataItem.isDisbursement()) {
                 // Process disbursement data
                 DisbursementData data = (DisbursementData) dataItem.getData();
-                periodData = createLoanSchedulePeriodData(data, 
disbursementChargeAmount, waivedChargeAmount);
+                // For FTT: only add disbursed tranches to cumulative balance

Review Comment:
   why do we need this?



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