array( 'OutstandingOnly' => 'SA_SALESDELIVERY',
'InvoiceTemplates' => 'SA_SALESINVOICE')
);
-if (!@$_GET['popup'])\r
-{\r
- $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);\r
-}
+
if (get_post('type'))
$trans_type = $_POST['type'];
elseif (isset($_GET['type']) && $_GET['type'] == ST_SALESQUOTE)
$_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'];