[Frontaccounting-cvs_updates] /hgrepo/f/fr/frontaccounting/frontaccounting: Fixed small bug in...
Brought to you by:
frontaccounting,
itronics
From: FrontAccounting <fro...@us...> - 2011-11-07 10:59:12
|
details: http://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting/hgrepo/f/fr/frontaccounting/frontaccounting/rev/7b94ebaf4b5c changeset: 2918:7b94ebaf4b5c user: Joe Hunt <joe...@gm...> date: Mon Nov 07 11:58:32 2011 +0100 description: Fixed small bug in sales orders inquiry, page title. diffstat: sales/inquiry/sales_orders_view.php | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diffs (37 lines): diff -r 8dacdb8ab5ac -r 7b94ebaf4b5c sales/inquiry/sales_orders_view.php --- a/sales/inquiry/sales_orders_view.php Wed Nov 02 14:52:53 2011 +0100 +++ b/sales/inquiry/sales_orders_view.php Mon Nov 07 11:58:32 2011 +0100 @@ -24,15 +24,7 @@ array( 'OutstandingOnly' => 'SA_SALESDELIVERY', 'InvoiceTemplates' => 'SA_SALESINVOICE') ); -if (!@$_GET['popup']) -{ - $js = ""; - if ($use_popup_windows) - $js .= get_js_open_window(900, 600); - if ($use_date_picker) - $js .= get_js_date_picker(); - page($_SESSION['page_title'], false, false, "", $js); -} + if (get_post('type')) $trans_type = $_POST['type']; elseif (isset($_GET['type']) && $_GET['type'] == ST_SALESQUOTE) @@ -69,6 +61,16 @@ $_SESSION['page_title'] = _($help_context = "Search All Sales Quotations"); } +if (!@$_GET['popup']) +{ + $js = ""; + if ($use_popup_windows) + $js .= get_js_open_window(900, 600); + if ($use_date_picker) + $js .= get_js_date_picker(); + page($_SESSION['page_title'], false, false, "", $js); +} + if (isset($_GET['selected_customer'])) { $selected_customer = $_GET['selected_customer']; |