projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b6d923
)
remove fax from short contact info, RT#25536
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 8 Oct 2015 20:46:55 +0000
(13:46 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 8 Oct 2015 20:46:55 +0000
(13:46 -0700)
httemplate/elements/contact.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/contact.html
b/httemplate/elements/contact.html
index
ef74481
..
87e15de
100644
(file)
--- a/
httemplate/elements/contact.html
+++ b/
httemplate/elements/contact.html
@@
-135,7
+135,7
@@
tie my %label, 'Tie::IxHash',
my $first = 0;
foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
my $first = 0;
foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
- next if $phone_type->typename
eq 'Home'
;
+ next if $phone_type->typename
=~ /^(Home|Fax)$/
;
my $f = 'phonetypenum'.$phone_type->phonetypenum;
$label{$f} = $phone_type->typename. ' phone';
$size{$f} = $first++ ? 10 : 15;
my $f = 'phonetypenum'.$phone_type->phonetypenum;
$label{$f} = $phone_type->typename. ' phone';
$size{$f} = $first++ ? 10 : 15;