Bug in Tax Inquiry and Tax Report when entering in Journal Entry
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index 903b22b5ff0a24fe6bf3b96b0c1acedc07f14d83..defbcd846178fca56293e90b546efa2b5f33266f 100644 (file)
@@ -203,7 +203,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_);
        }