X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fphone_type.pm;h=d5c43afd54c41701ee260d0848f67e86a5e955c5;hb=403b8a5cbbf1132b19707aa48a4cde2de255866c;hp=9439cd09ba522d4a6fe2e9e779668b281a29dea8;hpb=31592a2ac1d8762246cd173beb33606444fe3acc;p=freeside.git diff --git a/FS/FS/phone_type.pm b/FS/FS/phone_type.pm index 9439cd09b..d5c43afd5 100644 --- a/FS/FS/phone_type.pm +++ b/FS/FS/phone_type.pm @@ -98,8 +98,8 @@ returns a list of phone_types. =cut sub get_phone_types { - ## only using mobile(3) and work(1) right now. - my @phone_types = qsearch({table=>'phone_type', order_by=>'ORDER BY weight DESC', extra_sql => " WHERE phonetypenum IN ('1','3')"}); + ## not using Home and Fax right now. false laziness with /elements/contact.html + my @phone_types = qsearch({table=>'phone_type', order_by=>'ORDER BY weight DESC', extra_sql => " WHERE typename NOT IN ('Home','Fax')"}); return @phone_types; }