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.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/cust_bill_pay.cgi b/httemplate/edit/cust_bill_pay.cgi
new file mode 100755
index 000000000..f620fc57a
--- /dev/null
+++ b/httemplate/edit/cust_bill_pay.cgi
@@ -0,0 +1,13 @@
+<& elements/ApplicationCommon.html,
+ 'form_action' => 'process/cust_bill_pay.cgi',
+ 'src_table' => 'cust_pay',
+ 'src_thing' => emt('payment'),
+ 'dst_table' => 'cust_bill',
+ 'dst_thing' => emt('invoice'),
+&>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Apply payment');
+
+</%init>