summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_pay_refund.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-06-05 05:06:36 +0000
committerivan <ivan>2008-06-05 05:06:36 +0000
commitd7977d0a346e3e5975c44a75b915bb437be66f4f (patch)
treefab1f36589dd47ddb27d54edd81a69b35fa92fd1 /httemplate/edit/process/cust_pay_refund.cgi
parente77f5d7c3812a65be18c5fc4ede509c42c5e3358 (diff)
payment and credit applications have separate "apply to refund" choices now, and no auto-refund choice in the invoice dropdown. RT#3545
Diffstat (limited to 'httemplate/edit/process/cust_pay_refund.cgi')
-rwxr-xr-xhttemplate/edit/process/cust_pay_refund.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/process/cust_pay_refund.cgi b/httemplate/edit/process/cust_pay_refund.cgi
new file mode 100755
index 000000000..ffe89ec64
--- /dev/null
+++ b/httemplate/edit/process/cust_pay_refund.cgi
@@ -0,0 +1,13 @@
+<% include('elements/ApplicationCommon.html',
+ 'error_redirect' => 'cust_bill_pay.cgi',
+ 'src_table' => 'cust_pay',
+ 'src_thing' => 'payment',
+ 'link_table' => 'cust_pay_refund',
+ )
+%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Apply payment');
+
+</%init>