summaryrefslogtreecommitdiff
path: root/httemplate/elements
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/elements
parent6fd4495cfb983901c1f7cb7ff15410048bda05d7 (diff)
autodownload and update of cch tax data
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 627f9c857..409a1525a 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -227,8 +227,14 @@ tie my %tools_importing, 'Tie::IxHash',
'Import payments from CSV file' => [ $fsurl.'misc/cust_pay-import.cgi', '' ],
'Import phone numbers (DIDs)' => [ $fsurl.'misc/phone_avail-import.html', '' ],
'Import Call Detail Records (CDRs) from CSV file' => [ $fsurl.'misc/cdr-import.html', '' ],
- 'Import tax rates from CSV files' => [ $fsurl.'misc/tax-import.cgi', '' ],
;
+if ( $conf->exists('taxdatadirectdownload') ) {
+ $tools_importing{'Import tax rates from vendor site'} =
+ [ $fsurl.'misc/tax-fetch_and_import.cgi', '' ];
+} else {
+ $tools_importing{'Import tax rates from CSV files'} =
+ [ $fsurl.'misc/tax-import.cgi', '' ];
+}
tie my %tools_exporting, 'Tie::IxHash',
'Download database dump' => [ $fsurl. 'misc/dump.cgi', '' ],