[freeside-commits] branch master updated. 6e0f9bf522acce334318adea8ea0b003781f8272
Ivan
ivan at 420.am
Wed Jun 7 18:08:24 PDT 2017
The branch, master has been updated
via 6e0f9bf522acce334318adea8ea0b003781f8272 (commit)
from 0c5e4f76b7ceb2c47657ca75f54fb4c0c82152aa (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 6e0f9bf522acce334318adea8ea0b003781f8272
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jun 7 18:08:21 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 bd589d7..5935da9 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>
-----------------------------------------------------------------------
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