$page_security = 2;
$path_to_root="../..";
-include($path_to_root . "/sales/includes/sales_ui.inc");
include($path_to_root . "/includes/db_pager.inc");
-include_once($path_to_root . "/reporting/includes/reporting.inc");
include($path_to_root . "/includes/session.inc");
+include($path_to_root . "/sales/includes/sales_ui.inc");
+include_once($path_to_root . "/reporting/includes/reporting.inc");
$js = "";
if ($use_popup_windows)
end_table(1);
end_form();
-
//---------------------------------------------------------------------------------------------
// Orders inquiry table
//
$table =& new_db_pager('orders_tbl', $sql, $cols);
$table->set_marker('check_overdue', _("Marked items are overdue."));
-
-if (get_post('SearchOrders'))
-{
+if (get_post('SearchOrders')) {
$table->set_sql($sql);
$table->set_columns($cols);
- $Ajax->activate('orders_tbl');
-}
- start_form();
- display_db_pager($table);
+}
+start_form();
- submit_center('Update', _("Update"), true, '', null);
- end_form();
+display_db_pager($table);
+submit_center('Update', _("Update"), true, '', null);
+
+end_form();
end_page();
?>
\ No newline at end of file