From f1e6716f76bd30b007504373f34ba054e9d0bb5c Mon Sep 17 00:00:00 2001 From: nikpawar89 Date: Sat, 11 Nov 2017 00:57:51 -0600 Subject: [PATCH] FINERACT-554 --- .../teller/service/TellerWritePlatformServiceJpaImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java b/fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java index bc1bbcdd1..76b03711a 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java @@ -440,8 +440,8 @@ public class TellerWritePlatformServiceJpaImpl implements TellerWritePlatformSer final JournalEntry debitJournalEntry = JournalEntry.createNew(cashierOffice, null, // payment // detail - debitAccount, "USD", // FIXME: Take currency code from the - // transaction + debitAccount, cashierTxn.getCurrencyCode(), + transactionId, false, // manual entry cashierTxn.getTxnDate(), JournalEntryType.DEBIT, cashierTxn.getTxnAmount(), cashierTxn.getTxnNote(), // Description null, null, null, // entity Type, entityId, reference number @@ -449,8 +449,8 @@ public class TellerWritePlatformServiceJpaImpl implements TellerWritePlatformSer final JournalEntry creditJournalEntry = JournalEntry.createNew(cashierOffice, null, // payment // detail - creditAccount, "USD", // FIXME: Take currency code from the - // transaction + creditAccount, cashierTxn.getCurrencyCode(), + transactionId, false, // manual entry cashierTxn.getTxnDate(), JournalEntryType.CREDIT, cashierTxn.getTxnAmount(), cashierTxn.getTxnNote(), // Description null, null, null, // entity Type, entityId, reference number