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