summaryrefslogtreecommitdiff
path: root/FS/FS/phone_type.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-05-28 10:55:29 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-05-28 10:55:29 -0400
commit5b0df166c22e13eba83fabee858846ead6a54141 (patch)
treee87ee485d92df094421db67dd89088bf01e1b4f7 /FS/FS/phone_type.pm
parent5ae6df67cbcac031e4b2731f337f42a17af5777a (diff)
RT# 77532 - fixed error where cust main fax not showing, and fixed checking of phonetypenum
Diffstat (limited to 'FS/FS/phone_type.pm')
-rw-r--r--FS/FS/phone_type.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/phone_type.pm b/FS/FS/phone_type.pm
index 3d9dced..de56527 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;
}