From bd39db7a960f64d6a19e714aa8d74ccab1fd04c5 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 1 Mar 2008 22:23:41 +0000 Subject: add payby selection to adv. customer search --- httemplate/search/cust_main.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'httemplate/search/cust_main.html') diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 00fd1531a..5fb5ddad9 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -68,6 +68,17 @@ foreach my $field (qw( signupdate )) { } +### +# payby +### + +my @payby = grep /^([A-Z]{4})$/, $cgi->param('payby'); +if ( @payby ) { + push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )'; +} + +### + ## # amounts ## -- cgit v1.2.1