Merged changes from main trunk up to version_2_1_4
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index a47dd73a0ea4f0af3b1633225b3d55516de601ee..e73e1e3ac877aab3f5fa7020f5c95cdba0f50893 100644 (file)
@@ -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_);
        }