[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / manufacturing / work_order_release.php
index 10044b7b01f6f6542399bc5501cfe99b6f341063..0f274fd83e9163d7a3b780b7f1ab2a9e8b622365 100644 (file)
@@ -14,15 +14,14 @@ $path_to_root = "..";
 include_once($path_to_root . "/includes/session.inc");
 
 include_once($path_to_root . "/includes/date_functions.inc");
-include_once($path_to_root . "/includes/manufacturing.inc");
 
 include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
 include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Work Order Release to Manufacturing"), false, false, "", $js);
 
@@ -115,4 +114,3 @@ end_form();
 
 end_page();
 
-?>
\ No newline at end of file