multiple payment options, RT#23741
authorIvan Kohler <ivan@freeside.biz>
Wed, 25 Feb 2015 02:41:39 +0000 (18:41 -0800)
committerIvan Kohler <ivan@freeside.biz>
Wed, 25 Feb 2015 02:41:39 +0000 (18:41 -0800)
FS/FS/Cron/bill.pm
FS/FS/cust_bill_void.pm

index a822654..2c9468b 100644 (file)
@@ -161,8 +161,6 @@ sub bill {
 #      with today's date, regardless of the pretend date used to pre-generate
 #      the invoices.
 #
 #      with today's date, regardless of the pretend date used to pre-generate
 #      the invoices.
 #
-#  -p: Only process customers with the specified payby (I<CARD>, I<DCRD>, I<CHEK>, I<DCHK>, I<BILL>, I<COMP>, I<LECB>)
-#
 #  -a: Only process customers with the specified agentnum
 #
 #  -v: enable debugging
 #  -a: Only process customers with the specified agentnum
 #
 #  -v: enable debugging
index bf147c0..b9db81b 100644 (file)
@@ -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<FS::cust_bill::search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>,
 Class method which returns an SQL WHERE fragment to search for parameters
 specified in HASHREF.  Accepts the following parameters for 
 L<FS::cust_bill::search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>,
-C<agentnum>, C<custnum>, C<cust_classnum>, C<refnum>, C<payby>.  Also 
+C<agentnum>, C<custnum>, C<cust_classnum>, C<refnum>.  Also 
 accepts the following:
 
 =over 4
 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 
     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;
   };
   my $search_sql = FS::cust_bill->search_sql_where($cust_bill_param);
   $search_sql =~ s/cust_bill/cust_bill_void/g;