From ec71691725b6c5211b6967323cbc56a03038385d Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 23 Apr 2009 20:31:26 +0000 Subject: autodownload and update of cch tax data --- httemplate/misc/process/tax-fetch_and_import.cgi | 9 +++++ httemplate/misc/tax-fetch_and_import.cgi | 48 ++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 httemplate/misc/process/tax-fetch_and_import.cgi create mode 100644 httemplate/misc/tax-fetch_and_import.cgi (limited to 'httemplate/misc') 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; + + diff --git a/httemplate/misc/tax-fetch_and_import.cgi b/httemplate/misc/tax-fetch_and_import.cgi new file mode 100644 index 000000000..33a6c9b01 --- /dev/null +++ b/httemplate/misc/tax-fetch_and_import.cgi @@ -0,0 +1,48 @@ +<% include("/elements/header.html",'Tax Rate Download and Import') %> + +Import a tax data update. +

+ +<% include( '/elements/progress-init.html', 'TaxRateImport',[ 'format', ], + 'process/tax-fetch_and_import.cgi', { 'message' => 'Tax rates imported' }, + ) +%> + +
+<% &ntable("#cccccc", 2) %> + + + Format + + + + + + Update Password + + + + + + + + + + + + + +
+ +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); + + -- cgit v1.2.1