X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fcart_class.inc;h=b3d5ac966a19d3fd17af6542801342daa0d2c0d5;hb=2a42ffb56ef6651b8a136cd89271e65d397d7677;hp=4eeef444f97de87a3a0afbcd0013a4a7156c6058;hpb=c99c4da3f3a009e48b536dc1cc5268d566dfc6cb;p=fa-stable.git diff --git a/sales/includes/cart_class.inc b/sales/includes/cart_class.inc index 4eeef444..b3d5ac96 100644 --- a/sales/includes/cart_class.inc +++ b/sales/includes/cart_class.inc @@ -121,7 +121,7 @@ class cart $this->delivery_to = $sodata["deliver_to"]; $this->delivery_address = $sodata["delivery_address"]; } - if (!$view && ($type!=ST_CUSTDELIVERY || $this->trans_link!=0)) { + if (!$view && ($type!=ST_CUSTCREDIT || $this->trans_link!=0)) { $src_type = get_parent_type($type); $src_details = 0; if ($src_type == ST_SALESORDER) { // get src data from sales_orders @@ -149,7 +149,7 @@ class cart } } } - } else { + } else { $this->trans_type = $type; $this->trans_no = 0; // set new sales document defaults here