From 530b42f465b0ab31fbb4c2754d0e385b330f3b5f Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 17 Dec 2007 01:00:29 +0000 Subject: add cust_main-require_address2 config, reimplement address2-search config ("Unit #" search in searchbar), visual indication of require_invoicing_list_email, closes: RT#2926 --- httemplate/elements/header.html | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index b78789ed4..54cf6e9cd 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -19,6 +19,11 @@ what.value = ''; } + function clearhint_search_address2 (what) { + if ( what.value == '(Unit #)' ) + what.value = ''; + } + function clearhint_search_invoice (what) { if ( what.value == '(inv #)' ) what.value = ''; @@ -113,14 +118,14 @@ input.fsblackbuttonselected { - + % if ( $menu_position eq 'top' ) { - - - @@ -156,21 +161,31 @@ input.fsblackbuttonselected { + +
+ @@ -129,12 +134,12 @@ input.fsblackbuttonselected {
+
+
+% if ( $conf->exists('address2-search') ) { +
+ + +
+ +
+% } +
% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) {
-% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { Advanced -% } +% }
% } -
-- cgit v1.2.1