summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-10-24 00:00:14 -0700
committerMark Wells <mark@freeside.biz>2013-10-24 00:00:14 -0700
commitadc62b5c44f6e6fddda75aff0d594d7a7d95a403 (patch)
tree8ecd0fa8ae92bfda84941cc8d8f631a6741dcd87 /httemplate/view
parentc78ac03d2e45a2979523d8c8999ab8714a58941f (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.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index e286305f4..e0dd7b904 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>