X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=gl%2Fincludes%2Fdb%2Fgl_db_banking.inc;h=57412a23e129e7db65fd5fd973315b9f5ea42a9b;hb=871bc1f187ad6e5622a80c7dd8aadc48d8ea70fd;hp=7e465091fe1f81d9ea5c52ee04d7f776c57589cf;hpb=d5a2671f2139a11be1d327649e59bb4fc7b18bd1;p=fa-stable.git diff --git a/gl/includes/db/gl_db_banking.inc b/gl/includes/db/gl_db_banking.inc index 7e465091..57412a23 100644 --- a/gl/includes/db/gl_db_banking.inc +++ b/gl/includes/db/gl_db_banking.inc @@ -147,8 +147,10 @@ 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; + $ex_rate = get_exchange_rate_from_home_currency($currency, $date_); + add_gl_tax_details($gl_item->code_id, $trans_type, $trans_no, $amount, - $date_, $memo); + $ex_rate, $date_, $memo_); } // do the source account postings