summaryrefslogtreecommitdiff
path: root/httemplate/edit/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/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/cust_pay_refund.cgi')
-rwxr-xr-xhttemplate/edit/cust_pay_refund.cgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/edit/cust_pay_refund.cgi b/httemplate/edit/cust_pay_refund.cgi
new file mode 100755
index 000000000..f82fe36fe
--- /dev/null
+++ b/httemplate/edit/cust_pay_refund.cgi
@@ -0,0 +1,14 @@
+<% include('elements/ApplicationCommon.html',
+ 'form_action' => 'process/cust_pay_refund.cgi',
+ 'src_table' => 'cust_pay',
+ 'src_thing' => 'payment',
+ 'dst_table' => 'cust_refund',
+ 'dst_thing' => 'refund',
+ )
+%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Apply payment');
+
+</%init>