diff options
author | ivan <ivan> | 2008-03-01 22:23:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-01 22:23:41 +0000 |
commit | bd39db7a960f64d6a19e714aa8d74ccab1fd04c5 (patch) | |
tree | 8211e13c8ebfed934312c3393b488060982e8ad2 /httemplate/search/cust_main.html | |
parent | 162a742110ede26cbb904b1f38c6a99e4b692eef (diff) |
add payby selection to adv. customer search
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-x | httemplate/search/cust_main.html | 11 |
1 files changed, 11 insertions, 0 deletions
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 ## |