From 3404bd72bd296598fe70bfdb89967e706b929b14 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 21 Jun 2010 17:09:30 +0000 Subject: [PATCH] Payment terms types list added --- includes/ui/ui_lists.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.30.2