Text not gettextized in /admin/backups.php.
[fa-stable.git] / inventory / manage / items.php
index 4254ea6eab28bfad8a9279274a97be7ff60efed8..666486f08b94ddd1295210e20c122d80e8547feb 100644 (file)
@@ -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']);
 ?>