From: Ivan Kohler Date: Thu, 8 Jun 2017 01:09:25 +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/?a=commitdiff_plain;h=56488529c04e33c093cc8d28a5e0e7654d74dc43;p=freeside.git 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 8d3925a08..e5e91fdbb 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('cch') %> + <% $tax_location && $tax_location->geocode %> % }