somasorosdpc commented on code in PR #3963:
URL: https://github.com/apache/fineract/pull/3963#discussion_r1671827861


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/AbstractLoanRepaymentScheduleTransactionProcessor.java:
##########
@@ -204,12 +204,36 @@ public ChangedTransactionDetail 
reprocessLoanTransactions(final LocalDate disbur
                 
reprocessChargebackTransactionRelation(changedTransactionDetail, 
transactionsToBeProcessed);
             } else if (loanTransaction.isChargeOff()) {
                 recalculateChargeOffTransaction(changedTransactionDetail, 
loanTransaction, currency, installments);
+            } else if (loanTransaction.isAccrualActivity() && 
loanTransaction.isNotReversed()) {
+                
recalculateAccrualActivityTransaction(changedTransactionDetail, 
loanTransaction, currency, installments);
             }
         }
         reprocessInstallments(disbursementDate, transactionsToBeProcessed, 
installments, currency);
         return changedTransactionDetail;
     }
 
+    private void 
recalculateAccrualActivityTransaction(ChangedTransactionDetail 
changedTransactionDetail, LoanTransaction loanTransaction,

Review Comment:
   will fix and include integration test case.



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