mariiaKraievska commented on code in PR #5022:
URL: https://github.com/apache/fineract/pull/5022#discussion_r2336017135


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanBuyDownFeeAmortizationProcessingServiceImpl.java:
##########
@@ -84,9 +83,9 @@ public void processBuyDownFeeAmortizationTillDate(@NonNull 
Loan loan, @NonNull L
                 final Money amortizationTillDate = 
BuyDownFeeAmortizationUtil.calculateTotalAmortizationTillDate(balance, 
adjustments,
                         maturityDate, 
loan.getLoanProductRelatedDetail().getBuyDownFeeStrategy(), tillDatePlusOne, 
loan.getCurrency());
                 totalAmortization = 
totalAmortization.add(amortizationTillDate);
+                final BigDecimal alreadyAmortizedAmount = 
MathUtil.subtract(balance.getAmount(), balance.getAmountAdjustment(),

Review Comment:
   No, but I rewrote it anyway



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