Rerun of Moving bugfixes from 2.3 to 2.4, Manufacturing routines
[fa-stable.git] / manufacturing / includes / manufacturing_ui.inc
index b95d2641f09f3fdaae79d9b4f89695710ba32db8..2d55477ba767fb01651173eb6e5ea9ac930b1359 100644 (file)
@@ -245,7 +245,7 @@ function display_wo_payments($woid)
                        alt_table_row_color($k);
 
                label_cell(get_gl_view_str( $myrow["type"], $myrow["type_no"], $myrow["type_no"]));
-               label_cell($wo_cost_types[$myrow['person_id']]);
+               label_cell($wo_cost_types[$myrow['cost_type']]);
                $date = sql2date($myrow["tran_date"]);
                label_cell($date);
                        amount_cell(-($myrow['amount']));