X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fsales_db.inc;h=1f5e0f31f7dc93c7e1c126b517566ddcd5769bd4;hb=f9451becdadf75c6e4feb459123f813100acb052;hp=1c6f67f648dd4f4321ce20281628e55821cf6d2f;hpb=654b2cb832f5ad2313cfbbd98832681fae05943a;p=fa-stable.git diff --git a/sales/includes/sales_db.inc b/sales/includes/sales_db.inc index 1c6f67f6..1f5e0f31 100644 --- a/sales/includes/sales_db.inc +++ b/sales/includes/sales_db.inc @@ -35,7 +35,7 @@ function add_stock_move_customer($type, $stock_id, $trans_id, $location, $date_, // $amount is in CUSTOMER'S currency function add_gl_trans_customer($type, $type_no, $date_, $account, $dimension, $dimension2, - $amount, $customer_id, $err_msg="", $rate) + $amount, $customer_id, $err_msg="", $rate=0) { if ($err_msg == "") $err_msg = "The customer GL transaction could not be inserted";