projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix net sales amount (credits were being applied in wrong month), RT#7502
[freeside.git]
/
httemplate
/
search
/
report_cust_bill.html
diff --git
a/httemplate/search/report_cust_bill.html
b/httemplate/search/report_cust_bill.html
index
ec57d20
..
e551c8e
100644
(file)
--- a/
httemplate/search/report_cust_bill.html
+++ b/
httemplate/search/report_cust_bill.html
@@
-1,11
+1,12
@@
-<% include('/elements/header.html', 'Invoice
report criteria
' ) %>
+<% include('/elements/header.html', 'Invoice
Report
' ) %>
<FORM ACTION="cust_bill.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
<FORM ACTION="cust_bill.html" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="_date">
-<TABLE>
+<TABLE BGCOLOR="#cccccc" CELLSPACING=0
+
<% include( '/elements/tr-select-agent.html',
<% include( '/elements/tr-select-agent.html',
-
$cgi->param('agentnum
'),
+
($cgi->param('agentnum') || '
'),
'label' => 'Invoices for agent: ',
)
%>
'label' => 'Invoices for agent: ',
)
%>
@@
-26,3
+27,9
@@
</FORM>
<% include('/elements/footer.html') %>
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
+
+</%init>