Corrected postJournalEntries to call createJournalEntriesForLoan API

This commit is contained in:
Pramod Nuthakki
2013-08-19 18:13:17 +05:30
parent 01a2eeb46a
commit e1a4ebdf92
@@ -145,7 +145,7 @@ public class LoanAccountDomainServiceJpa implements LoanAccountDomainService {
final Map<String, Object> accountingBridgeData = loanAccount.deriveAccountingBridgeData(applicationCurrency.toData(),
existingTransactionIds, existingReversedTransactionIds);
this.journalEntryWritePlatformService.createJournalEntriesForSavings(accountingBridgeData);
this.journalEntryWritePlatformService.createJournalEntriesForLoan(accountingBridgeData);
}
private LoanLifecycleStateMachine defaultLoanLifecycleStateMachine() {