From: Joe Hunt Date: Wed, 30 Aug 2017 06:26:50 +0000 (+0200) Subject: Old Sales Quote Reference Fix X-Git-Tag: v2.4.3~51 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=4fb55e726607d40a22272c0c432c3df8b422b447 Old Sales Quote Reference Fix --- diff --git a/sales/includes/cart_class.inc b/sales/includes/cart_class.inc index 6296e5cc..13f383bf 100644 --- a/sales/includes/cart_class.inc +++ b/sales/includes/cart_class.inc @@ -21,7 +21,7 @@ iv) a delivery note include_once($path_to_root . "/inventory/includes/inventory_db.inc"); include_once($path_to_root . "/taxes/tax_calc.inc"); -class cart +class Cart { var $trans_type; // invoice, order, quotation, delivery note ... var $trans_no = array();// array (num1=>ver1,..) or 0 for new diff --git a/sales/view/view_sales_order.php b/sales/view/view_sales_order.php index 5aa606d9..1c3d95b4 100644 --- a/sales/view/view_sales_order.php +++ b/sales/view/view_sales_order.php @@ -39,7 +39,7 @@ if (isset($_SESSION['View'])) unset ($_SESSION['View']); } -$_SESSION['View'] = new Cart($_GET['trans_type'], $_GET['trans_no'], true); +$_SESSION['View'] = new Cart($_GET['trans_type'], $_GET['trans_no']); start_table(TABLESTYLE2, "width='95%'", 5); @@ -93,7 +93,7 @@ label_row(_("Delivery Address"), nl2br($_SESSION['View']->delivery_address), "class='tableheader2'", "colspan=3"); label_row(_("Reference"), $_SESSION['View']->reference, "class='tableheader2'", "colspan=3"); label_row(_("Telephone"), $_SESSION['View']->phone, "class='tableheader2'", "colspan=3"); -;label_row(_("E-mail"), "email . "'>" . $_SESSION['View']->email . "", +label_row(_("E-mail"), "email . "'>" . $_SESSION['View']->email . "", "class='tableheader2'", "colspan=3"); label_row(_("Comments"), nl2br($_SESSION['View']->Comments), "class='tableheader2'", "colspan=3"); end_table();