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