summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_event.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_bill_event.html')
-rwxr-xr-xhttemplate/search/cust_bill_event.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill_event.html b/httemplate/search/cust_bill_event.html
index 2aa2ccc6c..334bda3d3 100755
--- a/httemplate/search/cust_bill_event.html
+++ b/httemplate/search/cust_bill_event.html
@@ -56,3 +56,9 @@
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');
+
+</%init>