Skip to content

Commit

Permalink
Fix Journal Entries for Savings Accrual Transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
IOhacker committed Oct 1, 2024
1 parent ca8dc9b commit 45520ae
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,7 @@ else if (savingsTransactionDTO.getTransactionType().isInterestPosting()) {
else if (savingsTransactionDTO.getTransactionType().isAccrual()) {
// Post journal entry for Accrual Recognition
if (savingsTransactionDTO.getAmount().compareTo(BigDecimal.ZERO) > 0) {
if (feePayments.size() > 0 || penaltyPayments.size() > 0) {
/*this.helper.createCashBasedJournalEntriesAndReversalsForSavings(office, currencyCode,
AccrualAccountsForSavings.FEES_RECEIVABLE.getValue(), AccrualAccountsForSavings.INCOME_FROM_FEES.getValue(),
savingsProductId, paymentTypeId, savingsId, transactionId, transactionDate, amount, isReversal);
} else {*/
if (feePayments.size() > 0 || penaltyPayments.size() > 0) {
this.helper.createCashBasedJournalEntriesAndReversalsForSavings(office, currencyCode,
AccrualAccountsForSavings.INTEREST_ON_SAVINGS.getValue(),
AccrualAccountsForSavings.INTEREST_PAYABLE.getValue(), savingsProductId, paymentTypeId, savingsId,
Expand Down

0 comments on commit 45520ae

Please sign in to comment.