summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-11-14 16:02:31 -0800
committerMark Wells <mark@freeside.biz>2016-11-14 16:02:31 -0800
commit5b2872a065cd65c823e9056b9153e4548ee7c201 (patch)
tree7f6ab48084bbe4c2ebdb963a58d3e23ac69efffa /httemplate/elements
parent79c4a2f57e660defff2eb03d1f5c8ad7e590272b (diff)
Billsoft -> Avalara adjustments, checkpoint
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html2
-rw-r--r--httemplate/elements/standardize_locations.js16
2 files changed, 9 insertions, 9 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index c4ea9cd7c..72b586e19 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -503,7 +503,7 @@ tie my %tools_importing, 'Tie::IxHash',
'Phone numbers (DIDs)' => [ $fsurl.'misc/phone_avail-import.html', '' ],
'Call Detail Records (CDRs)' => [ $fsurl.'misc/cdr-import.html', '' ],
;
-if ( $conf->config('tax_data_vendor') eq 'cch' ) {
+if ( $conf->config('tax_data_vendor') ) {
if ( $conf->exists('taxdatadirectdownload') ) {
$tools_importing{'Tax rates from vendor site'} =
[ $fsurl.'misc/tax-fetch_and_import.cgi', '' ];
diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js
index ecccd90f1..dd6837099 100644
--- a/httemplate/elements/standardize_locations.js
+++ b/httemplate/elements/standardize_locations.js
@@ -207,8 +207,8 @@ function post_standardization() {
prefix = 'bill_';
}
- if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
- {
+// if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
+// {
var country_el = cf.elements[prefix + 'country'];
var country = country_el.options[ country_el.selectedIndex ].value;
@@ -238,12 +238,12 @@ function post_standardization() {
}
- } else {
-
- cf.elements[prefix + 'geocode'].value = '';
- <% $post_geocode %>;
-
- }
+// } else {
+//
+// cf.elements[prefix + 'geocode'].value = '';
+// <% $post_geocode %>;
+//
+// }
% } else {