Repository: fineract
Updated Branches:
  refs/heads/develop a3e8c5e5b -> e5dbd4acf


FINERACT-554


Project: http://git-wip-us.apache.org/repos/asf/fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/fineract/commit/f1e6716f
Tree: http://git-wip-us.apache.org/repos/asf/fineract/tree/f1e6716f
Diff: http://git-wip-us.apache.org/repos/asf/fineract/diff/f1e6716f

Branch: refs/heads/develop
Commit: f1e6716f76bd30b007504373f34ba054e9d0bb5c
Parents: d6accae
Author: nikpawar89 <nikhilpa...@yahoo.in>
Authored: Sat Nov 11 00:57:51 2017 -0600
Committer: nikpawar89 <nikhilpa...@yahoo.in>
Committed: Sat Nov 11 00:57:51 2017 -0600

----------------------------------------------------------------------
 .../teller/service/TellerWritePlatformServiceJpaImpl.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/fineract/blob/f1e6716f/fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java
----------------------------------------------------------------------
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 bc1bbcd..76b0371 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

Reply via email to