Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / manufacturing / view / wo_issue_view.php
index 7b49484e1a4e7a006082cc9d2b864ab7b3343f3b..9f0a8d7e0ac5c7c7385f3d6adb4cdfd7bde3de30 100644 (file)
@@ -49,7 +49,7 @@ function display_wo_issue($issue_no)
        start_row();
        label_cell($myrow["issue_no"]);
        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["description"]);
        label_cell($myrow["location_name"]);
        label_cell($myrow["WorkCentreName"]);
@@ -111,7 +111,7 @@ function display_wo_issue_details($issue_no)
 
 //-------------------------------------------------------------------------------------------------
 
-display_heading(systypes::name(28) . " # " . $wo_issue_no);
+display_heading($systypes_array[ST_MANUISSUE] . " # " . $wo_issue_no);
 
 display_wo_issue($wo_issue_no);