New files from unstable branch
[fa-stable.git] / manufacturing / view / wo_production_view.php
index 3017ac31fefe97d1f8b0900ae3293c1b57695471..985bf64353da0edb0f0474ac8e599105fe9caac9 100644 (file)
@@ -37,12 +37,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 +71,7 @@ display_wo_production($wo_production);
 
 br(2);
 
-end_page(true);
+end_page(true, false, false, ST_MANURECEIVE, $wo_production);
 
 ?>