X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fui_lists.inc;h=62a34df9b9c5612c2e4e62bbc5b3088b8defa243;hb=6bdb8986a143a35e8f8a1c318bd14fab839000b2;hp=ef4825050101ebf0d3a26595f23ff975aeb60b76;hpb=10fd8252ac45018df5a4aac542f4b9f95ee50bd7;p=fa-stable.git diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index ef482505..62a34df9 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1681,7 +1681,13 @@ function payment_person_types_list($name, $selected_id=null, $submit_on_change=f { global $payment_person_types; - return array_selector($name, $selected_id, $payment_person_types, + $items = array(); + foreach ($payment_person_types as $key=>$type) + { + if ($key != PT_WORKORDER) + $items[$key] = $type; + } + return array_selector($name, $selected_id, $items, array( 'select_submit'=> $submit_on_change ) ); } @@ -1796,6 +1802,10 @@ function pagesizes_list_row($label, $name, $value=null) function systypes_list_cells($label, $name, $value=null, $submit_on_change=false) { global $systypes_array; + + if ($label != null) + echo "