Changed Advanced Manufacturing payments to be more flexible and simpler. Removed...
[fa-stable.git] / includes / ui / ui_lists.inc
index e27d245ecaea5675654fb772aed1a604694d3786..a1b65af1bc4472cd0f1c15fc0f40ce5277347726 100644 (file)
@@ -1699,7 +1699,8 @@ function payment_person_types_list($name, $selected_id=null, $submit_on_change=f
        {
                if (payment_person_types::has_items($type['id']))
                {
-                       $items[$type['id']] = $type['name'];
+                       if ($type['id'] != payment_person_types::WorkOrder())
+                               $items[$type['id']] = $type['name'];
                }
        }