[freeside-commits] freeside/FS/FS cust_main.pm, 1.464.2.11, 1.464.2.12
Ivan,,,
ivan at wavetail.420.am
Thu Dec 10 15:03:27 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv5954
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cust_main.pm
Log Message:
fully fix bulk customer reports, RT#6778
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.464.2.11
retrieving revision 1.464.2.12
diff -u -d -r1.464.2.11 -r1.464.2.12
--- cust_main.pm 4 Dec 2009 04:40:43 -0000 1.464.2.11
+++ cust_main.pm 10 Dec 2009 23:03:24 -0000 1.464.2.12
@@ -8263,6 +8263,19 @@
# payby
###
+ if ( $params->{'payby'} ) {
+
+ my @payby = ref( $params->{'payby'} )
+ ? @{ $params->{'payby'} }
+ : ( $params->{'payby'} );
+
+ @payby = grep /^([A-Z]{4})$/, @{ $params->{'payby'} };
+
+ push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )'
+ if @payby;
+
+ }
+
my @payby = grep /^([A-Z]{4})$/, @{ $params->{'payby'} };
if ( @payby ) {
push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )';
More information about the freeside-commits
mailing list