diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-06-07 18:09:25 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-06-07 18:09:25 -0700 |
| commit | 56488529c04e33c093cc8d28a5e0e7654d74dc43 (patch) | |
| tree | f14fbe8f64b8670d5992d7be11524d9efe60a1d5 | |
| parent | e89c8210f4186386ed5b7e7a123a96325d1ee183 (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.html | 2 |
1 files changed, 1 insertions, 1 deletions
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; - <TD><% $tax_location->geocode('cch') %></TD> + <TD><% $tax_location && $tax_location->geocode %></TD> </TR> % } <TR> |
