summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_pay_refund.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-06-05 05:07:55 +0000
committerivan <ivan>2008-06-05 05:07:55 +0000
commitc2f5b6b184a446069c67b2d33ceef00ef50507c4 (patch)
tree77e46aea841a857bd0c5736080eacdca3c2a87ab /httemplate/edit/process/cust_pay_refund.cgi
parent187479662c5391f3d535c00c5f399862a47547fa (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>