From: jeff Date: Mon, 5 Oct 2009 14:04:10 +0000 (+0000) Subject: low hanging fruit: improvement in tax location selection RT#6000 X-Git-Tag: root_of_svc_elec_features~810 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cf86f3223d1e30853f52c0f5a7a6331f27aed9cb low hanging fruit: improvement in tax location selection RT#6000 --- diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js index d6d4f920f..1a06d9497 100644 --- a/httemplate/edit/cust_main/bottomfixup.js +++ b/httemplate/edit/cust_main/bottomfixup.js @@ -197,6 +197,7 @@ function post_standardization() { var country_el = cf.elements['<% $taxpre %>country']; var country = country_el.options[ country_el.selectedIndex ].value; + var geocode = cf.elements['geocode'].value; if ( country == 'CA' || country == 'US' ) { @@ -209,6 +210,7 @@ function post_standardization() { ";state=" + state + ";zip=" + cf.elements['<% $taxpre %>zip'].value + ";country=" + country + + ";geocode=" + geocode + ";"; // popup a chooser diff --git a/httemplate/edit/cust_main/choose_tax_location.html b/httemplate/edit/cust_main/choose_tax_location.html index be93a5de8..ac475c54b 100644 --- a/httemplate/edit/cust_main/choose_tax_location.html +++ b/httemplate/edit/cust_main/choose_tax_location.html @@ -1,5 +1,6 @@

Choose tax location

+

the geocode is:<% $header %>

<% $header %>