summaryrefslogtreecommitdiff
path: root/httemplate/elements/searchbar-cust_bill.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/searchbar-cust_bill.html')
-rw-r--r--httemplate/elements/searchbar-cust_bill.html34
1 files changed, 0 insertions, 34 deletions
diff --git a/httemplate/elements/searchbar-cust_bill.html b/httemplate/elements/searchbar-cust_bill.html
deleted file mode 100644
index 448f40f09..000000000
--- a/httemplate/elements/searchbar-cust_bill.html
+++ /dev/null
@@ -1,34 +0,0 @@
-% if ( $curuser->access_right('View invoices') ) {
-
- <FORM ACTION="<%$fsurl%>search/cust_bill.html" METHOD="GET" STYLE="margin:0;display:inline">
- <INPUT NAME="invnum" TYPE="text" VALUE="<% $inv_label |n %>" STYLE="width:56px" onFocus="clearhint_search_invoice(this);" onClick="clearhint_search_invoice(this);" CLASS="fstext">
-% if ( $curuser->access_right('List invoices') ) {
- <A HREF="<%$fsurl%>search/report_cust_bill.html" CLASS="fslink" STYLE="font-size: 11px">Adv</A>\
-% }
- <BR>
- <INPUT TYPE="submit" VALUE="Search invoices" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px;margin-top:3px">
- </FORM>
- <% $menu_position eq 'left' ? '<BR><BR>' : '' %>
-
-% }
-
-<SCRIPT TYPE="text/javascript">
-
- function clearhint_search_invoice (what) {
- if ( what.value == '<% $inv_label |n %>' )
- what.value = '';
- }
-
-</SCRIPT>
-<%once>
-
-my $inv_label = '(inv #)';
-
-</%once>
-<%init>
-
-my $curuser = $FS::CurrentUser::CurrentUser;
-
-my $menu_position = $curuser->option('menu_position') || 'top';
-
-</%init>