[freeside-commits] branch FREESIDE_4_BRANCH updated. 56488529c04e33c093cc8d28a5e0e7654d74dc43
Ivan
ivan at 420.am
Wed Jun 7 18:09:27 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 56488529c04e33c093cc8d28a5e0e7654d74dc43 (commit)
from e89c8210f4186386ed5b7e7a123a96325d1ee183 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 56488529c04e33c093cc8d28a5e0e7654d74dc43
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jun 7 18:09:25 2017 -0700
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 8d3925a..e5e91fd 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>
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/cust_main/billing.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list