X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fsales_order_entry.php;h=b608c2001bd06935541ae628bc035ee34888e38a;hb=7e8df3a179c05c51085349e139aac9ce88b9378d;hp=fa9fee184468cf524db4c2ba22365b1e62f31c1f;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index fa9fee18..b608c200 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -51,7 +51,7 @@ set_page_security( @$_SESSION['Items']->trans_type, $js = ''; -if ($use_popup_windows) { +if ($SysPrefs->use_popup_windows) { $js .= get_js_open_window(900, 500); } @@ -633,9 +633,9 @@ function handle_cancel_order() function create_cart($type, $trans_no) { - global $Refs; + global $Refs, $SysPrefs; - if (!$_SESSION['SysPrefs']->db_ok) // create_cart is called before page() where the check is done + if (!$SysPrefs->db_ok) // create_cart is called before page() where the check is done return; processing_start(); @@ -726,7 +726,7 @@ hidden('cart_id'); $customer_error = display_order_header($_SESSION['Items'], !$_SESSION['Items']->is_started(), $idate); if ($customer_error == "") { - start_table(TABLESTYLE, "width=80%", 10); + start_table(TABLESTYLE, "width='80%'", 10); echo ""; display_order_summary($orderitems, $_SESSION['Items'], true); echo "";