projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACLs
[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
..
892f5c4
100644
(file)
--- a/
httemplate/search/report_cust_bill.html
+++ b/
httemplate/search/report_cust_bill.html
@@
-5,8
+5,8
@@
<TABLE>
<% include( '/elements/tr-select-agent.html',
<TABLE>
<% include( '/elements/tr-select-agent.html',
-
$cgi->param('agentnum'
),
- 'label' => 'Invoices for agent: ',
+
'curr_value' => scalar( $cgi->param('agentnum')
),
+ 'label'
=> 'Invoices for agent: ',
)
%>
<% include( '/elements/tr-input-beginning_ending.html' ) %>
)
%>
<% include( '/elements/tr-input-beginning_ending.html' ) %>
@@
-26,3
+26,9
@@
</FORM>
<% include('/elements/footer.html') %>
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
+
+</%init>