$js = "";
if ($use_popup_windows)
$js .= get_js_open_window(900, 500);
-page(_("View Work Order Production"), true, false, "", $js);
+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");
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);
label_cell(sql2date($myrow["date_"]));
end_row();
- comments_display_row(29, $prod_id);
+ comments_display_row(ST_MANURECEIVE, $prod_id);
end_table(1);
- is_voided_display(29, $prod_id, _("This production has been voided."));
+ is_voided_display(ST_MANURECEIVE, $prod_id, _("This production has been voided."));
}
//-------------------------------------------------------------------------------------------------
br(2);
-end_page(true);
+end_page(true, false, false, ST_MANURECEIVE, $wo_production);
?>