X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ftypes.inc;h=959c1cd1360a94c58c361d5b46999babe37f42fe;hb=edbd85d34374e87dcc0a0cc01d21ca4e4aabf1ac;hp=7242f86c64ecb7a523505f21e8974de5814e6737;hpb=fd069bba86276f15311ff6ab10b22d4a06a55513;p=fa-stable.git diff --git a/includes/types.inc b/includes/types.inc index 7242f86c..959c1cd1 100644 --- a/includes/types.inc +++ b/includes/types.inc @@ -130,7 +130,7 @@ function payment_person_name($type, $person_id, $full=true) { return ($full ? $payment_person_types[$type] . " ":"") . $qe["description"]; case PT_WORKORDER : global $wo_cost_types; - return $wo_cost_types[$person_id]; + return get_trans_view_str(ST_WORKORDER, $person_id, _('Work Order').' '.$person_id); case PT_CUSTOMER : return ($full ?$payment_person_types[$type] . " ":"") . sprintf("[%05s] %s", $person_id, get_customer_name($person_id)); case PT_SUPPLIER :