diff options
| author | Mark Wells <mark@freeside.biz> | 2013-08-24 15:43:08 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-08-24 15:43:08 -0700 |
| commit | 60724f233fbeb9388f4b2cbb68a4e6297c2b2118 (patch) | |
| tree | 1388b01758c47e914db4056e8d35997861a041ae /httemplate | |
| parent | 23f2db6452f097640447b9b35dd106f408dbc20b (diff) | |
CCH taxes with new customer locations, #21485
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/elements/standardize_locations.js | 8 | ||||
| -rw-r--r-- | httemplate/misc/confirm-address_standardize.html | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js index d7c36701e..ad774d897 100644 --- a/httemplate/elements/standardize_locations.js +++ b/httemplate/elements/standardize_locations.js @@ -207,7 +207,7 @@ function post_standardization() { var country_el = cf.elements['<% $taxpre %>country']; var country = country_el.options[ country_el.selectedIndex ].value; - var geocode = cf.elements['bill_geocode'].value; + var geocode = cf.elements['<% $taxpre %>geocode'].value; if ( country == 'CA' || country == 'US' ) { @@ -229,14 +229,14 @@ function post_standardization() { } else { - cf.elements['bill_geocode'].value = 'DEFAULT'; + cf.elements['<% $taxpre %>geocode'].value = 'DEFAULT'; <% $post_geocode %>; } } else { - cf.elements['bill_geocode'].value = ''; + cf.elements['<% $taxpre %>geocode'].value = ''; <% $post_geocode %>; } @@ -261,7 +261,7 @@ function update_geocode() { cf.elements['<% $taxpre %>city'].value = argsHash['city']; setselect(cf.elements['<% $taxpre %>state'], argsHash['state']); cf.elements['<% $taxpre %>zip'].value = argsHash['zip']; - cf.elements['bill_geocode'].value = argsHash['geocode']; + cf.elements['<% $taxpre %>geocode'].value = argsHash['geocode']; <% $post_geocode %>; } diff --git a/httemplate/misc/confirm-address_standardize.html b/httemplate/misc/confirm-address_standardize.html index 420e8ea1d..33d22195b 100644 --- a/httemplate/misc/confirm-address_standardize.html +++ b/httemplate/misc/confirm-address_standardize.html @@ -103,7 +103,7 @@ Confirm address standardization % else { <TR> <TD ALIGN="center"> - <BUTTON TYPE="button" STYLE="width:205px" onclick="confirm_manual_address()();"> + <BUTTON TYPE="button" STYLE="width:205px" onclick="confirm_manual_address();"> <IMG SRC="<%$p%>images/error.png" ALT=""> Use entered <%$addresses%> </BUTTON></TD> <TD ALIGN="center"> |
