From: Ivan Kohler Date: Thu, 8 Jun 2017 01:08:21 +0000 (-0700) Subject: don't error out displaying customer reocrd if tax vendor is configured and customer... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6e0f9bf522acce334318adea8ea0b003781f8272 don't error out displaying customer reocrd if tax vendor is configured and customer has no address --- 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; - <% $tax_location->geocode %> + <% $tax_location && $tax_location->geocode %> % }