diff options
author | Mark Wells <mark@freeside.biz> | 2015-11-28 17:24:47 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-11-28 17:24:47 -0800 |
commit | 604fb57656811244bd8a848170fce44fa8d7c946 (patch) | |
tree | f88da80c9f9bbe1c11f0aa98306d8de61874e125 /httemplate | |
parent | 0b07c1da9b37ce82bf505f0a860bb0693cedb264 (diff) |
fix display of contacts on customer basics tab, #25536
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/view/cust_main/contacts_new.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html index d55ee3dc3..a0dd30125 100644 --- a/httemplate/view/cust_main/contacts_new.html +++ b/httemplate/view/cust_main/contacts_new.html @@ -78,7 +78,6 @@ my @cust_contacts = $cust_main->cust_contact; # residential customers have a default "invisible" contact, but if they # somehow get more than one contact, show them -my $display = (length($cust_main->residential_commercial) > 0) - or ( scalar(@cust_contacts) > 1 ); +my $display = scalar(@cust_contacts) > 1; </%init> |