X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fview%2Fwo_production_view.php;h=6cd68020850e57ed3a869665a329314026233653;hb=48589f9ce6c51bb25e2fa8ed83c57d9dfa485e44;hp=c79983fbb41bbd36a2a8d4c9f288bcf5535ced7b;hpb=67abd2b071302a327df63fb949963f0b45d62196;p=fa-stable.git diff --git a/manufacturing/view/wo_production_view.php b/manufacturing/view/wo_production_view.php index c79983fb..6cd68020 100644 --- a/manufacturing/view/wo_production_view.php +++ b/manufacturing/view/wo_production_view.php @@ -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"); @@ -37,12 +36,10 @@ if ($_GET['trans_no'] != "") function display_wo_production($prod_id) { - global $table_style; - $myrow = get_work_order_produce($prod_id); br(1); - start_table($table_style); + start_table(TABLESTYLE); $th = array(_("Production #"), _("Reference"), _("For Work Order #"), _("Item"), _("Quantity Manufactured"), _("Date")); table_header($th); @@ -73,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);