summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorjeff <jeff>2009-04-23 20:31:26 +0000
committerjeff <jeff>2009-04-23 20:31:26 +0000
commitec71691725b6c5211b6967323cbc56a03038385d (patch)
tree4cd8ae8f7b976e9ef27889847fc424baa95ff26e /httemplate/misc/process
parent6fd4495cfb983901c1f7cb7ff15410048bda05d7 (diff)
autodownload and update of cch tax data
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/tax-fetch_and_import.cgi9
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/misc/process/tax-fetch_and_import.cgi b/httemplate/misc/process/tax-fetch_and_import.cgi
new file mode 100644
index 000000000..553c7551a
--- /dev/null
+++ b/httemplate/misc/process/tax-fetch_and_import.cgi
@@ -0,0 +1,9 @@
+<% $server->process %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my $server = new FS::UI::Web::JSRPC 'FS::tax_rate::process_download_and_update', $cgi;
+
+</%init>