summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-05-24 10:51:08 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-05-24 10:51:08 -0400
commit6b5dda03831aef0cb5689cf2acf3fac47e4b12cb (patch)
treee61c92299b348069140a942785f58e2c0e084ab2 /httemplate/search/elements
parent562a3c85e49cd3ea8fb80e5c2fd7f4c5f60333e9 (diff)
RT# 77532 - can search cust main phone numbers in advanced customer search
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/cust_main_phones.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/httemplate/search/elements/cust_main_phones.html b/httemplate/search/elements/cust_main_phones.html
new file mode 100644
index 000000000..61aa1be6e
--- /dev/null
+++ b/httemplate/search/elements/cust_main_phones.html
@@ -0,0 +1,27 @@
+<TR>
+ <TH VALIGN="top" ALIGN="right"><% mt('Phones') |h %></TD>
+ <TD COLSPAN=6>
+ <TABLE CELLSPACING=0 CELLPADDING=0>
+ <TR>
+% foreach my $phone (qw(daytime night mobile)) {
+ <TD>
+ <INPUT TYPE="text"
+ NAME="<% $phone %>"
+ VALUE=""
+ SIZE=18
+ >
+ <BR><FONT SIZE=-1 COLOR="#333333"><% mt($phone_label{$phone}) |h %></FONT>
+ </TD>
+ <TD>&nbsp;</TD>
+% }
+ </TR>
+ </TABLE>
+ </TD>
+</TR>
+<%init>
+my %phone_label = (
+ daytime => 'Day Phone',
+ night => 'Night Phone',
+ mobile => 'Mobile Phone',
+);
+</%init> \ No newline at end of file