From: ivan Date: Mon, 13 Dec 2004 09:13:27 +0000 (+0000) Subject: add config option for address2 search, closes: Bug#1022 X-Git-Tag: BEFORE_FINAL_MASONIZE~780 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=2cddd2e5f77c3a10676510b6c6bc2ca48459d117;p=freeside.git add config option for address2 search, closes: Bug#1022 --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index f8dc7d924..b6c115dc4 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1370,6 +1370,13 @@ httemplate/docs/config.html 'type' => 'checkbox', }, + { + 'key' => 'address2-search', + 'section' => 'UI', + 'description' => 'Enable a "Unit" search box which searches the second address field', + 'type' => 'checkbox', + }, + ); 1; diff --git a/httemplate/index.html b/httemplate/index.html index cd1021742..868fec2d4 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -65,7 +65,9 @@
Customer # or all customers by customer number
Last name or all customers by last name
Company or all customers by company
- +<% if ( $conf->exists('address2-search') ) { %> +
Unit
+<% } %>
Phone #

Username or all accounts by username or uid

Domain or all domains