summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_credit_refund.cgi
diff options
context:
space:
mode:
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>