X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fview%2Fwork_order_view.php;h=4d999ab9c705d9925bcba071b1a0cb24eb2c9bc8;hb=181a41d711bef3cec7ca559e35e9e12d1d4f4515;hp=61dfbf3c05192da5bab37364b983f94e007af100;hpb=d2cc0860eccf02eaefcd90731ac3af141a841529;p=fa-stable.git diff --git a/manufacturing/view/work_order_view.php b/manufacturing/view/work_order_view.php index 61dfbf3c..4d999ab9 100644 --- a/manufacturing/view/work_order_view.php +++ b/manufacturing/view/work_order_view.php @@ -15,13 +15,12 @@ $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 . "/includes/data_checks.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); page(_($help_context = "View Work Order"), true, false, "", $js); @@ -81,6 +80,5 @@ echo "
"; is_voided_display(ST_WORKORDER, $woid, _("This work order has been voided.")); -end_page(true); +end_page(true, false, false, ST_WORKORDER, $woid); -?>