Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git] / manufacturing / view / wo_production_view.php
index e3aa2ef6dc07c216c985e4e8b54e07f3cf093462..6cd68020850e57ed3a869665a329314026233653 100644 (file)
@@ -15,12 +15,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 Production"), 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");
@@ -71,7 +70,5 @@ display_wo_production($wo_production);
 
 br(2);
 
-end_page(true, false, false, ST_MANURECEIVE], $wo_production);
-
-?>
+end_page(true, false, false, ST_MANURECEIVE, $wo_production);