summaryrefslogtreecommitdiff
path: root/httemplate/elements/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/header.html')
-rw-r--r--httemplate/elements/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index 7bf56702d..0ee6f9c9e 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -154,11 +154,13 @@ input.fsblackbuttonselected {
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
+% if ( $FS::CurrentUser::CurrentUser->access_right('List customers') ) {
<FORM ACTION="<%$fsurl%>search/cust_main.cgi" METHOD="GET" STYLE="margin:0">
<INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name, company or phone)" SIZE="28" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="vertical-align:bottom;text-align:right"><BR>
<A HREF="<%$fsurl%>search/report_cust_main.html" STYLE="color: #ffffff; font-size: 70%">Advanced</A>
<INPUT TYPE="submit" VALUE="Search customers" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%">
</FORM>
+% }
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="center">