X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fview%2Fwo_issue_view.php;h=484b08ec74161975a34eea80c69726ae4a1be3d3;hb=72af4496f87c438dc85a0a7573d36b7bd9e49624;hp=19b62bc0b359153968912f9baef52ffee573ba2a;hpb=71ef60f5895e131182cdff8b092f6da905345dc5;p=fa-stable.git diff --git a/manufacturing/view/wo_issue_view.php b/manufacturing/view/wo_issue_view.php index 19b62bc0..484b08ec 100644 --- a/manufacturing/view/wo_issue_view.php +++ b/manufacturing/view/wo_issue_view.php @@ -4,7 +4,10 @@ $page_security = 10; $path_to_root="../.."; include_once($path_to_root . "/includes/session.inc"); -page(_("View Work Order Issue"), true); +$js = ""; +if ($use_popup_windows) + $js .= get_js_open_window(900, 500); +page(_("View Work Order Issue"), true, false, "", $js); include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/includes/manufacturing.inc"); @@ -15,7 +18,7 @@ include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc"); //------------------------------------------------------------------------------------------------- -if ($_GET['trans_no'] != "") +if ($_GET['trans_no'] != "") { $wo_issue_no = $_GET['trans_no']; } @@ -31,7 +34,7 @@ function display_wo_issue($issue_no) start_table($table_style); $th = array(_("Issue #"), _("Reference"), _("For Work Order #"), _("Item"), _("From Location"), _("To Work Centre"), _("Date of Issue")); - table_header($th); + table_header($th); start_row(); label_cell($myrow["issue_no"]); @@ -60,9 +63,9 @@ function display_wo_issue_details($issue_no) if (db_num_rows($result) == 0) { - echo "
" . _("There are no items for this issue."); - } - else + display_note(_("There are no items for this issue.")); + } + else { start_table($table_style); $th = array(_("Component"), _("Quantity"), _("Units")); @@ -74,7 +77,7 @@ function display_wo_issue_details($issue_no) $total_cost = 0; - while ($myrow = db_fetch($result)) + while ($myrow = db_fetch($result)) { alt_table_row_color($k);