diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:10:12 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:10:12 -0800 |
| commit | a5a541f3b1db3192f7d4a7dd5ad1fbf5800ef586 (patch) | |
| tree | da68fc589524586871787b696ca00a3763992de8 /httemplate/elements | |
| parent | 4090933e1de8cae6ed89794a5bbacf3b3ed434d5 (diff) | |
| parent | 2dff574c971b18e3b3c74653e7e1376b7b57c3bb (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/menu.html | 2 | ||||
| -rw-r--r-- | httemplate/elements/standardize_locations.js | 16 |
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 { |
