X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fsales_order_entry.php;h=3f1b20dba1ce3732f53918e68411bd0d9550fc84;hb=ea24e6536845545b8220c3c21801b51b831bbfeb;hp=3ad5b1991efd2e31145491083d065e279f071c68;hpb=a1a4460e51a0a792f10df5d41eb43abc1f94ff4a;p=fa-stable.git diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index 3ad5b199..3f1b20db 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -139,7 +139,8 @@ if (isset($_GET['AddedID'])) { hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Direct Invoice"), "NewInvoice=0"); display_footer_exit(); -} +} else + check_edit_conflicts(); //----------------------------------------------------------------------------- @@ -217,6 +218,7 @@ function copy_from_cart() $_POST['dimension_id'] = $cart->dimension_id; $_POST['dimension2_id'] = $cart->dimension2_id; } + $_POST['cart_id'] = $cart->cart_id; } //-------------------------------------------------------------------------------- @@ -506,6 +508,7 @@ if ($_SESSION['Items']->trans_type == 10) { $corder = _("Commit Order Changes"); } start_form(false, true); +hidden('cart_id'); $customer_error = display_order_header($_SESSION['Items'], ($_SESSION['Items']->any_already_delivered() == 0), $idate);