From 0617a36106148efd7884c2f6ccd2a41075f9e5f6 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 24 Feb 2015 18:41:39 -0800 Subject: [PATCH] multiple payment options, RT#23741 --- FS/FS/Cron/bill.pm | 2 -- FS/FS/cust_bill_void.pm | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/FS/FS/Cron/bill.pm b/FS/FS/Cron/bill.pm index a82265452..2c9468b14 100644 --- a/FS/FS/Cron/bill.pm +++ b/FS/FS/Cron/bill.pm @@ -161,8 +161,6 @@ sub bill { # with today's date, regardless of the pretend date used to pre-generate # the invoices. # -# -p: Only process customers with the specified payby (I, I, I, I, I, I, I) -# # -a: Only process customers with the specified agentnum # # -v: enable debugging diff --git a/FS/FS/cust_bill_void.pm b/FS/FS/cust_bill_void.pm index bf147c09c..b9db81b93 100644 --- a/FS/FS/cust_bill_void.pm +++ b/FS/FS/cust_bill_void.pm @@ -278,7 +278,7 @@ sub cust_pkg { Class method which returns an SQL WHERE fragment to search for parameters specified in HASHREF. Accepts the following parameters for L: C<_date>, C, C, -C, C, C, C, C. Also +C, C, C, C. Also accepts the following: =over 4 @@ -302,7 +302,7 @@ sub search_sql_where { map { $_ => $param->{$_} } grep { exists($param->{$_}) } qw( _date invnum_min invnum_max agentnum custnum cust_classnum - refnum payby ) + refnum ) }; my $search_sql = FS::cust_bill->search_sql_where($cust_bill_param); $search_sql =~ s/cust_bill/cust_bill_void/g; -- 2.11.0