X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=f136c38229cccdced7113d1c99ee5d869689a716;hb=8c893a568ed275b1695b2f4df8cfda131a997a64;hp=e27d245ecaea5675654fb772aed1a604694d3786;hpb=9b5d1dfb37f7ebb58a5277920c8c4bea2a8b4a97;p=fa-stable.git diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index e27d245e..f136c382 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -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']; } } @@ -2066,4 +2067,17 @@ function quick_entry_types_list_row($label, $name, $selected_id=null, $submit_on } +function class_types_list_row($label, $name, $selected_id=null, $submit_on_change=false) +{ + global $class_types; + + echo "$label"; + array_selector($name, $selected_id, $class_types, + array( + 'select_submit'=> $submit_on_change + ) ); + echo "\n"; +} + + ?> \ No newline at end of file