summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_bill_pay.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_bill_pay.cgi')
-rwxr-xr-xhttemplate/edit/cust_bill_pay.cgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/edit/cust_bill_pay.cgi b/httemplate/edit/cust_bill_pay.cgi
new file mode 100755
index 0000000..532db6a
--- /dev/null
+++ b/httemplate/edit/cust_bill_pay.cgi
@@ -0,0 +1,14 @@
+<% include('elements/ApplicationCommon.html',
+ 'form_action' => 'process/cust_bill_pay.cgi',
+ 'src_table' => 'cust_pay',
+ 'src_thing' => 'payment',
+ 'dst_table' => 'cust_bill',
+ 'dst_thing' => 'invoice',
+ )
+%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Apply payment');
+
+</%init>