X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitems.php;h=666486f08b94ddd1295210e20c122d80e8547feb;hb=7b429726b63cd0ad02c5bd32a344e2764758e31a;hp=4254ea6eab28bfad8a9279274a97be7ff60efed8;hpb=44297f666389bc9b18c1b3739e5cab6cb5da7852;p=fa-stable.git diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 4254ea6e..666486f0 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -15,6 +15,8 @@ include($path_to_root . "/includes/session.inc"); $js = ""; if ($use_popup_windows) $js .= get_js_open_window(900, 500); +if ($use_date_picker) + $js .= get_js_date_picker(); page(_($help_context = "Items"), false, false, "", $js); @@ -462,13 +464,11 @@ tabbed_content_start('tabs', array( case 'movement': $_GET['stock_id'] = $stock_id; $_GET['popup'] = 1; - $_SERVER['REQUEST_METHOD'] = 'GET'; include_once($path_to_root."/inventory/inquiry/stock_movements.php"); break; case 'status': $_GET['stock_id'] = $stock_id; $_GET['popup'] = 1; - $_SERVER['REQUEST_METHOD'] = 'GET'; include_once($path_to_root."/inventory/inquiry/stock_status.php"); break; }; @@ -483,5 +483,5 @@ end_form(); //------------------------------------------------------------------------------------ -end_page(); +end_page(@$_REQUEST['popup']); ?>