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


##########
fineract-savings/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccountTransaction.java:
##########
@@ -337,6 +338,15 @@ public static SavingsAccountTransaction 
releaseAmount(SavingsAccountTransaction
                 accountTransaction.refNo);
     }
 
+    public static SavingsAccountTransaction accrual(final SavingsAccount 
savingsAccount, final Office office, final LocalDate date,
+            final Money amount, final boolean isManualTransaction) {
+        final boolean isReversed = false;
+        final Boolean lienTransaction = false;
+        final String refNo = ExternalId.generate().getValue();
+        return new SavingsAccountTransaction(savingsAccount, office, 
SavingsAccountTransactionType.ACCRUAL.getValue(), date, amount,

Review Comment:
   I think balance portions are important: fee, penalty and interest portion of 
the transaction.



-- 
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: commits-unsubscr...@fineract.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to