X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=320e13cfad2230d3b11fd212c7565dcb1ea8d1c8;hb=8f7ac519b7aaf8ec219862597e878d3a28316ac6;hp=3bdd6d8852299d54263024ac3667761d4e417a9b;hpb=5cae8206ae7eaf4df4b95b7f2184e2332f85ec8d;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index 3bdd6d88..320e13cf 100644
--- a/includes/ui/ui_lists.inc
+++ b/includes/ui/ui_lists.inc
@@ -1,20 +1,29 @@
.
+***********************************************************************/
include_once($path_to_root . "/includes/banking.inc");
include_once($path_to_root . "/includes/reserved.inc");
include_once($path_to_root . "/includes/types.inc");
include_once($path_to_root . "/includes/current_user.inc");
-$_search_button = " ";
+$_search_button = " ";
-$_select_button = " ";
+$_select_button = " ";
$all_items = reserved_words::get_all();
//----------------------------------------------------------------------------
-// Universal combo generator
+// Universal sql combo generator
// $sql must return selector values and selector texts in columns 0 & 1
// Options are merged with defaults.
@@ -30,6 +39,7 @@ $opts = array( // default options
'spec_option'=>false, // option text or false
'spec_id' => 0, // option id
// submit on select parameters
+ 'default' => '', // default value when $_POST is not set
'select_submit' => false, //submit on select: true/false
'async' => true, // select update via ajax (true) vs _page_body reload
// search box parameters
@@ -46,42 +56,45 @@ $opts = array( // default options
'cells' => false, // combo displayed as 2