summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-15 16:06:37 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-15 16:06:37 -0800
commit6319221f32300d4c641e2a22d5e0836d58fbd1b3 (patch)
tree981d068481f647f9ec22e9fca47c1d703254dd34 /httemplate/misc/process
parent964f0dc15597f3abb58a0135ec6c44ed8d022365 (diff)
bulk credit import, RT#26319
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/cust_credit-import.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/misc/process/cust_credit-import.cgi b/httemplate/misc/process/cust_credit-import.cgi
new file mode 100644
index 000000000..5a5cfe212
--- /dev/null
+++ b/httemplate/misc/process/cust_credit-import.cgi
@@ -0,0 +1,10 @@
+<% $server->process %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Import');
+
+my $server =
+ new FS::UI::Web::JSRPC 'FS::cust_credit::process_batch_import', $cgi;
+
+</%init>