Fixed typo in location variable.
[fa-stable.git] / manufacturing / includes / manufacturing_ui.inc
index f2cde17f2ee9e09d8e622e0c8221e015d7a6cda0..7e63f77a76ec1342e42e1e2bc2d9de424c8949fb 100644 (file)
@@ -244,8 +244,8 @@ function display_wo_payments($woid)
 
                        alt_table_row_color($k);
 
-               label_cell(get_gl_view_str(ST_WORKORDER, $myrow["type_no"], $myrow["type_no"]));
-               label_cell($wo_cost_types[$myrow['person_id']]);
+               label_cell(get_gl_view_str( $myrow["type"], $myrow["type_no"], $myrow["type_no"]));
+               label_cell($wo_cost_types[$myrow['cost_type']]);
                $date = sql2date($myrow["tran_date"]);
                label_cell($date);
                        amount_cell(-($myrow['amount']));