From: Janusz Dobrowolski Date: Mon, 22 Dec 2008 20:50:52 +0000 (+0000) Subject: Bugfix [0000103] X-Git-Tag: 2.3-final~1351 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=e90136a7328b96c6b77e2b780d6eaa3e8f81b29d;p=fa-stable.git Bugfix [0000103] --- diff --git a/sales/includes/db/cust_trans_db.inc b/sales/includes/db/cust_trans_db.inc index afa814d4..95e58897 100644 --- a/sales/includes/db/cust_trans_db.inc +++ b/sales/includes/db/cust_trans_db.inc @@ -116,7 +116,7 @@ function write_customer_trans($trans_type, $trans_no, $debtor_no, $BranchNo, reference=".db_escape($reference).", tpe=".db_escape($sales_type).", order_=$order_no, ov_amount=$Total, ov_discount=".db_escape($discount).", ov_gst=$Tax, ov_freight=".db_escape($Freight).", ov_freight_tax=$FreightTax, rate=$rate, - ship_via=".db_escape($ship_via).", alloc=$AllocAmt, trans_link=$trans_link + ship_via=".db_escape($ship_via).", alloc=$AllocAmt, trans_link='$trans_link' WHERE trans_no=$trans_no AND type=$trans_type"; } db_query($sql, "The debtor transaction record could not be inserted");