X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gl%2Fincludes%2Fdb%2Fgl_db_banking.inc;h=e73e1e3ac877aab3f5fa7020f5c95cdba0f50893;hb=9b852b19c91b5af6400cf94a9ff65d37d1a730b4;hp=a47dd73a0ea4f0af3b1633225b3d55516de601ee;hpb=df0a865dbfdbdd5213fdce65e0f0aeb5feb19c69;p=fa-stable.git diff --git a/gl/includes/db/gl_db_banking.inc b/gl/includes/db/gl_db_banking.inc index a47dd73a..e73e1e3a 100644 --- a/gl/includes/db/gl_db_banking.inc +++ b/gl/includes/db/gl_db_banking.inc @@ -211,7 +211,7 @@ function add_bank_transaction($trans_type, $from_account, $items, $date_, $amount = $gl_item->amount; $ex_rate = get_exchange_rate_from_home_currency($currency, $date_); - add_gl_tax_details($gl_item->code_id, $trans_type, $trans_no, $amount, + add_gl_tax_details($gl_item->code_id, $trans_type, $trans_no, -$amount, $ex_rate, $date_, $memo_); }