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


##########
fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/AccrualBasedAccountingProcessorForSavings.java:
##########
@@ -182,9 +182,16 @@ else if 
(savingsTransactionDTO.getTransactionType().isInterestPosting()) {
             else if (savingsTransactionDTO.getTransactionType().isAccrual()) {
                 // Post journal entry for Accrual Recognition
                 if 
(savingsTransactionDTO.getAmount().compareTo(BigDecimal.ZERO) > 0) {
-                    
this.helper.createCashBasedJournalEntriesAndReversalsForSavings(office, 
currencyCode,
-                            
AccrualAccountsForSavings.INTEREST_ON_SAVINGS.getValue(), 
AccrualAccountsForSavings.INTEREST_PAYABLE.getValue(),
-                            savingsProductId, paymentTypeId, savingsId, 
transactionId, transactionDate, amount, isReversal);
+                    if (feePayments.size() > 0 || penaltyPayments.size() > 0) {
+                        
this.helper.createCashBasedJournalEntriesAndReversalsForSavings(office, 
currencyCode,

Review Comment:
   Periodic accrual for cash based accounting? @bharathcgowda 



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