Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / manufacturing / view / wo_production_view.php
index 28a4c7aea425a1efc090b0a2973e6112ca0bc6d0..f3690b5eb336e4f51441f8b4379d7b59266b93cf 100644 (file)
@@ -50,7 +50,7 @@ function display_wo_production($prod_id)
        start_row();
        label_cell($myrow["id"]);
        label_cell($myrow["reference"]);
-       label_cell(get_trans_view_str(systypes::work_order(),$myrow["workorder_id"]));
+       label_cell(get_trans_view_str(ST_WORKORDER,$myrow["workorder_id"]));
        label_cell($myrow["stock_id"] . " - " . $myrow["StockDescription"]);
        qty_cell($myrow["quantity"], false, get_qty_dec($myrow["stock_id"]));
        label_cell(sql2date($myrow["date_"]));
@@ -65,7 +65,7 @@ function display_wo_production($prod_id)
 
 //-------------------------------------------------------------------------------------------------
 
-display_heading(systypes::name(29) . " # " . $wo_production);
+display_heading($systypes_array[ST_MANURECEIVE] . " # " . $wo_production);
 
 display_wo_production($wo_production);