diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-05-22 12:58:05 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-05-22 12:58:05 -0400 |
commit | a98de57aee063b3ff737c283336f83b2e50e14a8 (patch) | |
tree | ffeec186cc5b5798401ce9f51d5011084a76bb0c /httemplate/search/elements | |
parent | 7bfdea32633df161273631bcdc6b33b93867f5b2 (diff) |
RT 77532 - added contact phone numbers to advanced customer report
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r-- | httemplate/search/elements/options_cust_contacts.html | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/httemplate/search/elements/options_cust_contacts.html b/httemplate/search/elements/options_cust_contacts.html index cfbf834b0..8a6b76913 100644 --- a/httemplate/search/elements/options_cust_contacts.html +++ b/httemplate/search/elements/options_cust_contacts.html @@ -12,21 +12,12 @@ <TH ALIGN="right" VALIGN="center"><% mt('Email') |h %></TH> <TD><INPUT TYPE="text" NAME="<%$field_prefix%>email" SIZE=54></TD> </TR> - - <TR> - <TH ALIGN="right" VALIGN="center"><% mt('Home Phone') |h %></TH> - <TD><INPUT TYPE="text" NAME="<%$field_prefix%>homephone" SIZE=54></TD> - </TR> - - <TR> - <TH ALIGN="right" VALIGN="center"><% mt('Work Phone') |h %></TH> - <TD><INPUT TYPE="text" NAME="<%$field_prefix%>workphone" SIZE=54></TD> - </TR> - +% foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { <TR> - <TH ALIGN="right" VALIGN="center"><% mt('Mobile Phone') |h %></TH> - <TD><INPUT TYPE="text" NAME="<%$field_prefix%>mobilephone" SIZE=54></TD> + <TH ALIGN="right" VALIGN="center"><% $phone_type->typename. ' Phone' |h %></TH> + <TD><INPUT TYPE="text" NAME="<% $field_prefix %>phonetypenum<% $phone_type->phonetypenum %>" SIZE=54></TD> </TR> +% } <%init> |