payment and credit applications have separate "apply to refund" choices now, and...
[freeside.git] / httemplate / edit / cust_credit_refund.cgi
diff --git a/httemplate/edit/cust_credit_refund.cgi b/httemplate/edit/cust_credit_refund.cgi
new file mode 100755 (executable)
index 0000000..f5bbb56
--- /dev/null
@@ -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>