summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_bill.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_cust_bill.html')
-rw-r--r--httemplate/search/report_cust_bill.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
index ec57d2094..4fa09f96c 100644
--- a/httemplate/search/report_cust_bill.html
+++ b/httemplate/search/report_cust_bill.html
@@ -26,3 +26,9 @@
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
+
+</%init>