X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fsales_order_entry.php;h=da9b9ce9a275b94a72ae8c3a1534eeaec92d6ae3;hb=bb82c831a23d39a13018df6571bdb7600db101bf;hp=50cc4470c5cd731199ee9b2a851f5742d6e048bb;hpb=168210eba8649ac5538fd063f7d6c274025c037e;p=fa-stable.git diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index 50cc4470..da9b9ce9 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -62,12 +62,12 @@ if ($use_date_picker) { if (isset($_GET['NewDelivery']) && is_numeric($_GET['NewDelivery'])) { $_SESSION['page_title'] = _($help_context = "Direct Sales Delivery"); - create_cart(ST_CUSTDELIVERY, 0); + create_cart(ST_CUSTDELIVERY, $_GET['NewDelivery']); } elseif (isset($_GET['NewInvoice']) && is_numeric($_GET['NewInvoice'])) { $_SESSION['page_title'] = _($help_context = "Direct Sales Invoice"); - create_cart(ST_SALESINVOICE, 0); + create_cart(ST_SALESINVOICE, $_GET['NewInvoice']); } elseif (isset($_GET['ModifyOrderNumber']) && is_numeric($_GET['ModifyOrderNumber'])) {