From: Janusz Dobrowolski Date: Mon, 21 Jun 2010 17:09:30 +0000 (+0000) Subject: Payment terms types list added X-Git-Tag: v2.4.2~19^2~842 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=3404bd72bd296598fe70bfdb89967e706b929b14;p=fa-stable.git Payment terms types list added --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 0ddf0c34..0e515e3c 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -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