X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fcart_class.inc;h=286f9f373dcd89642d3f9f8ffe2e1eb8849177a1;hb=23936f0bdf11736bff72d90513846cf94def317e;hp=286cc3fdb1e4694f9e3497c22eb1b2db95931be2;hpb=4d3a86a9286de3f4d5552ad2aa237a91df6aa689;p=fa-stable.git diff --git a/sales/includes/cart_class.inc b/sales/includes/cart_class.inc index 286cc3fd..286f9f37 100644 --- a/sales/includes/cart_class.inc +++ b/sales/includes/cart_class.inc @@ -185,10 +185,10 @@ class cart // $this->customer_currency = $sodata["curr_code"]; $this->delivery_to = $sodata["deliver_to"]; $this->delivery_address = $sodata["delivery_address"]; - } // child transaction reedition - update with parent info unless it is freehand - if (!$no_edit) - $this->set_parent_constraints($sodata, $trans_no[0]); + if (!$no_edit) + $this->set_parent_constraints($sodata, $trans_no[0]); + } } // prepare qtys for derivative document entry (not used in display) if($no_edit) {