From 6b5dda03831aef0cb5689cf2acf3fac47e4b12cb Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 24 May 2019 10:51:08 -0400 Subject: RT# 77532 - can search cust main phone numbers in advanced customer search --- httemplate/search/cust_main.html | 1 + httemplate/search/elements/cust_main_phones.html | 27 ++++++++++++++++++++++++ httemplate/search/report_cust_main.html | 1 + 3 files changed, 29 insertions(+) create mode 100644 httemplate/search/elements/cust_main_phones.html (limited to 'httemplate/search') diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 83ca7217d..06a0d5428 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -51,6 +51,7 @@ my %search_hash = (); my @scalars = qw ( agentnum salesnum status address city county state zip country location_history + daytime night mobile invoice_terms no_censustract with_geocode with_email tax no_tax POST no_POST custbatch usernum 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 @@ + + <% mt('Phones') |h %> + + + +% foreach my $phone (qw(daytime night mobile)) { + + +% } + +
+ +
<% mt($phone_label{$phone}) |h %> +
 
+ + +<%init> +my %phone_label = ( + daytime => 'Day Phone', + night => 'Night Phone', + mobile => 'Mobile Phone', +); + \ No newline at end of file diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index da2f1a4e9..3dd92af2e 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -165,6 +165,7 @@ <% emt('Location search options') %> <& elements/options_cust_location.html &> + <& elements/cust_main_phones.html &>

-- cgit v1.2.1