summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-06-07 18:08:21 -0700
committerIvan Kohler <ivan@freeside.biz>2017-06-07 18:08:21 -0700
commit6e0f9bf522acce334318adea8ea0b003781f8272 (patch)
tree1ff19c15ca4f942abdc03eddb0d2d52250a44f41
parent0c5e4f76b7ceb2c47657ca75f54fb4c0c82152aa (diff)
don't error out displaying customer reocrd if tax vendor is configured and customer has no address
-rw-r--r--httemplate/view/cust_main/billing.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index bd589d79e..5935da9cd 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -138,7 +138,7 @@ set_display_recurring(<% encode_json({'display_recurring' => [ $cust_main->displ
% my $tax_location = $conf->exists('tax-ship_address')
% ? $cust_main->ship_location
% : $cust_main->bill_location;
- <TD><% $tax_location->geocode %></TD>
+ <TD><% $tax_location && $tax_location->geocode %></TD>
</TR>
% }
<TR>