Merged changes up to version 2.3.4 into unstable.
[fa-stable.git] / includes / types.inc
index a40f4210e65fbf45c37b39fbe93e49d967c95e99..70fb7f0cc08e285cd4b9782c37c4f472243f0045 100644 (file)
@@ -123,6 +123,9 @@ function payment_person_name($type, $person_id, $full=true) {
                case PT_QUICKENTRY :
                        $qe = get_quick_entry($person_id);
                        return ($full ? $payment_person_types[$type] . " ":"") . $qe["description"];
+               case PT_WORKORDER :
+                       global $wo_cost_types;
+                       return $wo_cost_types[$person_id];
                case PT_CUSTOMER :
                        return ($full ?$payment_person_types[$type] . " ":"") . get_customer_name($person_id);
                case PT_SUPPLIER :