projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI: download full results links on separate lines, for consistency with search.html
[freeside.git]
/
httemplate
/
graph
/
report_cust_bill_pkg.html
diff --git
a/httemplate/graph/report_cust_bill_pkg.html
b/httemplate/graph/report_cust_bill_pkg.html
index
4f29b76
..
be5a71a
100644
(file)
--- a/
httemplate/graph/report_cust_bill_pkg.html
+++ b/
httemplate/graph/report_cust_bill_pkg.html
@@
-1,14
+1,14
@@
-<%
=
include('/elements/header.html', 'Sales Report' ) %>
+<% include('/elements/header.html', 'Sales Report' ) %>
<FORM ACTION="cust_bill_pkg.cgi" METHOD="GET">
<TABLE>
<FORM ACTION="cust_bill_pkg.cgi" METHOD="GET">
<TABLE>
-<%
=
include('/elements/tr-select-from_to.html' ) %>
+<% include('/elements/tr-select-from_to.html' ) %>
-<%
= include('/elements/tr-select-agent.html
', 'label' => 'For agent: ' ) %>
+<%
include('/elements/tr-select-agent.html', '
', 'label' => 'For agent: ' ) %>
-<%
= include('/elements/tr-select-pkg_class.html', '
',
+<%
include('/elements/tr-select-pkg_class.html
',
'pre_options' => [ '0' => 'all' ],
'empty_label' => '(empty class)',
)
'pre_options' => [ '0' => 'all' ],
'empty_label' => '(empty class)',
)
@@
-26,4
+26,10
@@
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
-<%= include('/elements/footer.html') %>
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>