magyari-adam commented on code in PR #4712:
URL: https://github.com/apache/fineract/pull/4712#discussion_r2120848552
##########
fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/AccrualBasedAccountingProcessorForLoan.java:
##########
@@ -426,6 +430,33 @@ private void
createJournalEntriesForChargeOffLoanCapitalizedIncomeAmortization(f
}
}
+ private void
createJournalEntriesForCapitalizedIncomeAmortizationAdjustment(final LoanDTO
loanDTO,
+ final LoanTransactionDTO loanTransactionDTO, final Office office) {
+ GLAccountBalanceHolder glAccountBalanceHolder = new
GLAccountBalanceHolder();
+ if (MathUtil.isGreaterThanZero(loanTransactionDTO.getAmount())) {
+ populateCreditDebitMaps(loanDTO.getLoanProductId(),
loanTransactionDTO.getAmount(), loanTransactionDTO.getPaymentTypeId(),
+
AccrualAccountsForLoan.DEFERRED_INCOME_LIABILITY.getValue(),
+
AccrualAccountsForLoan.INCOME_FROM_CAPITALIZATION.getValue(),
glAccountBalanceHolder);
Review Comment:
The test configures feeIncomeAccount for incomeFromCapitalization.
--
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]