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


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java:
##########
@@ -444,6 +548,26 @@ protected void recalculateDailyBalances(final Money 
openingAccountBalance, final
                     accountTransaction.updateRunningBalance(runningBalance);
                     addTransactionToExisting(accountTransaction, 
savingsAccountData);
 
+                    isTransactionsModified = true;
+                } else if 
(overdraftAmount.isNotEqualTo(Money.of(savingsAccountData.getCurrency(), 
transaction.getOverdraftAmount()))

Review Comment:
   Please split this logic into smaller chunks with description that explains 
the implemented logic.



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