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