summaryrefslogtreecommitdiff
path: root/httemplate/misc/batch-cust_pay.html
diff options
context:
space:
mode:
authorivan <ivan>2008-01-13 21:14:32 +0000
committerivan <ivan>2008-01-13 21:14:32 +0000
commit97e6cec67c0c99ce1b6f0667a09f1e009100189d (patch)
tree1d43c279a429c8284611e98e327a6049e971192d /httemplate/misc/batch-cust_pay.html
parentc223e0957b194e24dccbda5bbc29841385cc0961 (diff)
ACLs
Diffstat (limited to 'httemplate/misc/batch-cust_pay.html')
-rw-r--r--httemplate/misc/batch-cust_pay.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
index 341629ba6..ae608e1b9 100644
--- a/httemplate/misc/batch-cust_pay.html
+++ b/httemplate/misc/batch-cust_pay.html
@@ -1,8 +1,5 @@
-<% include("/elements/header.html", 'Quick payment entry',
- menubar(
- 'Main Menu' => $p, #popurl(1),
- ),
- ( $cgi->param('error') ? '' : 'onload="addRow()"' ),
+<% include('/elements/header.html', 'Quick payment entry', ''
+ ( $cgi->param('error') ? '' : 'onload="addRow()"' ),
)
%>
@@ -387,5 +384,11 @@
</SCRIPT>
-</BODY>
-</HTML>
+<% include('/elements/footer.html') %>
+
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch');
+
+</%init>