X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=0e515e3c7a307d3f2019d0beda9ee2a17790b7b0;hb=e7b078084252dbcb1fd1051ed0114804ed68b0e1;hp=50de77afc8692e7e4fe40a6229d1e80b98669340;hpb=a72a9c6ca3187b2dd39c73de032760291692486c;p=fa-stable.git diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 50de77af..0e515e3c 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1851,7 +1851,7 @@ function systypes_list_cells($label, $name, $value=null, $submit_on_change=false function systypes_list_row($label, $name, $value=null, $submit_on_change=false) { echo "$label"; - systypes_list_cells(null, $name, $value, false, $submit_on_change); + systypes_list_cells(null, $name, $value, $submit_on_change); echo "\n"; } @@ -2254,4 +2254,16 @@ function crm_category_types_list_row($label, $name, $selected_id=null, $filter=a echo "\n"; } +function payment_type_list_row($label, $name, $selected_id=null, $submit_on_change=false) +{ + global $pterm_types; + + echo "$label"; + echo array_selector($name, $selected_id, $pterm_types, + array( + 'select_submit'=> $submit_on_change + ) ); + echo "\n"; +} + ?> \ No newline at end of file