From 39bd5b53c899df1f543ef85dac206cdc135e9f3f Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 6 Dec 2013 14:41:35 -0800 Subject: advanced customer report: search by package class, #25531 --- httemplate/search/cust_main.html | 3 ++- httemplate/search/report_cust_main.html | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 66a3a9825..b97a4ef60 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -47,6 +47,7 @@ my @scalars = qw ( cancelled_pkgs cust_fields flattened_pkgs all_tags + all_pkg_classnums ); for my $param ( @scalars ) { @@ -55,7 +56,7 @@ for my $param ( @scalars ) { } #lists -for my $param (qw( classnum refnum payby tagnum )) { +for my $param (qw( classnum refnum payby tagnum pkg_classnum )) { $search_hash{$param} = [ $cgi->param($param) ]; } diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 1ceb48e1e..4309fbb7f 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -119,6 +119,23 @@ + + With package of class + + <& /elements/select-pkg_class.html, + 'field' => 'pkg_classnum', + 'multiple' => 1, + &> +
+ + Any of these +
+ + All of these +
+ + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', 'multiple' => 1, -- cgit v1.2.1