projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b07c1d
)
fix display of contacts on customer basics tab, #25536
author
Mark Wells
<mark@freeside.biz>
Sun, 29 Nov 2015 01:24:47 +0000
(17:24 -0800)
committer
Mark Wells
<mark@freeside.biz>
Sun, 29 Nov 2015 01:24:47 +0000
(17:24 -0800)
httemplate/view/cust_main/contacts_new.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/contacts_new.html
b/httemplate/view/cust_main/contacts_new.html
index
d55ee3d
..
a0dd301
100644
(file)
--- 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>