X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fitems_cart.inc;fp=includes%2Fui%2Fitems_cart.inc;h=7c9e6ef1a3ca46a3485f62e34e7dd482d811bf19;hb=eefe5267ed97b38ac66179141994fc8c9dd09ea8;hp=fd8c735735bdfd4d71c015c8bc76f424582f7d14;hpb=4deaa6ba6e084655989c30cfb7d9dd307408c7dc;p=fa-stable.git diff --git a/includes/ui/items_cart.inc b/includes/ui/items_cart.inc index fd8c7357..7c9e6ef1 100644 --- a/includes/ui/items_cart.inc +++ b/includes/ui/items_cart.inc @@ -417,7 +417,7 @@ class items_cart // update bank ledger if used foreach($bank_trans as $bank_id => $amount) add_bank_trans($this->trans_type, $this->order_id, $bank_id, $this->reference, - $this->tran_date, $amount, 0, "", $this->currency); + $this->tran_date, $amount, 0, 0, "", $this->currency); // add AP/AR for journal transaction if ($this->trans_type == ST_JOURNAL)