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