X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sales%2Fincludes%2Fcart_class.inc;h=cc7d15675b660a8437f6f08c7e8fbd94c0d6d58c;hb=f30537908e67494d74831f50490df4b965e657ff;hp=79a90ad7114a4e7150d5cc24624f98d2dcc0e329;hpb=88231b75937436aedadf2a751893e887307aa419;p=fa-stable.git diff --git a/sales/includes/cart_class.inc b/sales/includes/cart_class.inc index 79a90ad7..cc7d1567 100644 --- a/sales/includes/cart_class.inc +++ b/sales/includes/cart_class.inc @@ -247,6 +247,7 @@ class cart // this is direct document - first add parent $ref = $this->reference; $date = $this->document_date; + $due_date = $this->due_date; $this->trans_type = get_parent_type($this->trans_type); $this->reference = 'auto'; @@ -256,6 +257,7 @@ class cart $this->read($this->trans_type, $trans_no, true); $this->document_date = $date; $this->reference = $ref; + $this->due_date = $due_date; } $this->reference = @html_entity_decode($this->reference, ENT_QUOTES); $this->Comments = @html_entity_decode($this->Comments, ENT_QUOTES);