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


##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java:
##########
@@ -1999,17 +1996,39 @@ private void handleAccelerateMaturityDate(final 
LoanTransaction loanTransaction,
         final LocalDate transactionDate = loanTransaction.getTransactionDate();
         final List<LoanRepaymentScheduleInstallment> installments = 
transactionCtx.getInstallments();
         final Loan loan = loanTransaction.getLoan();
-        final LoanRepaymentScheduleInstallment currentInstallment = 
loan.getRelatedRepaymentScheduleInstallment(transactionDate);
+
+        final boolean isReAmortizedLoan = transactionCtx instanceof 
ProgressiveTransactionCtx ptx

Review Comment:
   Why does it matter if it is reamortized?



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