Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / manufacturing / includes / manufacturing_ui.inc
index dfedbb296e4eacebf0ce0e28fa41ebaf08fd5be7..67db356454ab158ee59d532bd69b8ae115431c58 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']));
@@ -357,4 +357,3 @@ function display_wo_details_quick($woid, $suppress_view_link=false)
     }
 }
 
-?>
\ No newline at end of file