Tax Inquiry: fixed refrences to non-existing database fields.
[fa-stable.git] / manufacturing / view / wo_issue_view.php
index 63b815b6ad7eb99d623361ea6019e0a6e5ba6cd3..799a2b47ed5170a22b7460860beb0ea9686e3e73 100644 (file)
@@ -14,12 +14,11 @@ $path_to_root = "../..";
 include_once($path_to_root . "/includes/session.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "View Work Order Issue"), true, false, "", $js);
 
 include_once($path_to_root . "/includes/date_functions.inc");
-include_once($path_to_root . "/includes/manufacturing.inc");
 include_once($path_to_root . "/includes/data_checks.inc");
 
 include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
@@ -121,5 +120,3 @@ echo "<br>";
 
 end_page(true, false, false, ST_MANUISSUE, $wo_issue_no);
 
-?>
-