summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-xhttemplate/search/cust_main.html11
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
##