X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fview%2Fwo_issue_view.php;h=63b815b6ad7eb99d623361ea6019e0a6e5ba6cd3;hb=884c36eec7dbaae89e1f5532cc2c2f8033b010fd;hp=9f0a8d7e0ac5c7c7385f3d6adb4cdfd7bde3de30;hpb=80dd97a37f674cc3691fa04af4c29607067566b2;p=fa-stable.git diff --git a/manufacturing/view/wo_issue_view.php b/manufacturing/view/wo_issue_view.php index 9f0a8d7e..63b815b6 100644 --- a/manufacturing/view/wo_issue_view.php +++ b/manufacturing/view/wo_issue_view.php @@ -16,7 +16,7 @@ include_once($path_to_root . "/includes/session.inc"); $js = ""; if ($use_popup_windows) $js .= get_js_open_window(900, 500); -page(_("View Work Order Issue"), true, false, "", $js); +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"); @@ -36,12 +36,10 @@ if ($_GET['trans_no'] != "") function display_wo_issue($issue_no) { - global $table_style; - $myrow = get_work_order_issue($issue_no); br(1); - start_table($table_style); + start_table(TABLESTYLE); $th = array(_("Issue #"), _("Reference"), _("For Work Order #"), _("Item"), _("From Location"), _("To Work Centre"), _("Date of Issue")); table_header($th); @@ -67,8 +65,6 @@ function display_wo_issue($issue_no) function display_wo_issue_details($issue_no) { - global $table_style; - $result = get_work_order_issue_details($issue_no); if (db_num_rows($result) == 0) @@ -77,7 +73,7 @@ function display_wo_issue_details($issue_no) } else { - start_table($table_style); + start_table(TABLESTYLE); $th = array(_("Component"), _("Quantity"), _("Units")); table_header($th); @@ -123,7 +119,7 @@ display_wo_issue_details($wo_issue_no); echo "
"; -end_page(true); +end_page(true, false, false, ST_MANUISSUE, $wo_issue_no); ?>