X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fsales_order_entry.php;h=b608c2001bd06935541ae628bc035ee34888e38a;hb=11109ad9f0e6af3f59d72731a95e473e72fb308b;hp=7a33997245a2073a3b865efcc3a3cea0b19cb7b1;hpb=bd8f517d30d1edd3261e26e582ddd9e11c555616;p=fa-stable.git diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index 7a339972..b608c200 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -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 "";