summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2010-08-09 01:03:49 +0000
committerivan <ivan>2010-08-09 01:03:49 +0000
commitb1d445f94514a29e5d4753839798b0291d89aee3 (patch)
tree1d3c6352cd80409a425bae59be561c57feb14a65 /httemplate/misc/process
parent96bcb3256650a35d57c2ac487e990b78a2f88a74 (diff)
package web import from CSV/XLS, RT#9529
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/cust_pkg-import.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/misc/process/cust_pkg-import.html b/httemplate/misc/process/cust_pkg-import.html
new file mode 100644
index 000000000..1021817e4
--- /dev/null
+++ b/httemplate/misc/process/cust_pkg-import.html
@@ -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_pkg::Import::process_batch_import', $cgi;
+
+</%init>