X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Foptions_cust_contacts.html;h=372bc67559165491de44a7a2894f02a4e90477aa;hb=5b9562f8e03ae6efea0c2eaa90341083744fa529;hp=8a6b7691380ab34df29371f9fca7f9a349072a94;hpb=a11b765362c56117c4b944096184e3e3e55bffac;p=freeside.git diff --git a/httemplate/search/elements/options_cust_contacts.html b/httemplate/search/elements/options_cust_contacts.html index 8a6b76913..372bc6755 100644 --- a/httemplate/search/elements/options_cust_contacts.html +++ b/httemplate/search/elements/options_cust_contacts.html @@ -12,7 +12,7 @@ <% mt('Email') |h %> -% foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { +% foreach my $phone_type ( FS::phone_type->get_phone_types() ) { <% $phone_type->typename. ' Phone' |h %>