Changes related to rewrite and optimalzation of taz register.
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index b9d8734eac1f162710a6cc445def2e87709be091..7e465091fe1f81d9ea5c52ee04d7f776c57589cf 100644 (file)
@@ -147,7 +147,8 @@ function add_bank_transaction($trans_type, $from_account, $items, $date_,
                // store tax details if the gl account is a tax account
 
                $amount = $gl_item->amount;
-               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,
+                       $date_, $memo);
        }
 
        // do the source account postings