diff options
| author | Mark Wells <mark@freeside.biz> | 2013-10-23 23:59:43 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-10-23 23:59:51 -0700 |
| commit | 67501ae6d2b92fc9a233f66d3a4d9b2cfd1ba3dc (patch) | |
| tree | eff5cb070e808dfdfd86b0a60a1a93a24771cadc /httemplate/view | |
| parent | 493f7af595ce989a2dde003f36b6ac20cd3d0178 (diff) | |
fix CCH geocode lookup and display with 3.x-style locations, #25547
Diffstat (limited to 'httemplate/view')
| -rw-r--r-- | httemplate/view/cust_main/billing.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index b863a734b..10cb1de88 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -221,7 +221,10 @@ % if ( $conf->exists('enable_taxproducts') ) { <TR> <TD ALIGN="right"><% mt('Tax location') |h %></TD> - <TD BGCOLOR="#ffffff"><% $cust_main->geocode('cch') %></TD> +% my $tax_location = $conf->exists('tax-ship_address') +% ? $cust_main->ship_location +% : $cust_main->bill_location; + <TD BGCOLOR="#ffffff"><% $tax_location->geocode('cch') %></TD> </TR> % } <TR> |
