[freeside-commits] freeside/FS/FS cust_main.pm,1.556,1.557
Ivan,,,
ivan at wavetail.420.am
Sat Oct 9 18:38:23 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv6429
Modified Files:
cust_main.pm
Log Message:
ignore banned ACH on otaker upgrade as well
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.556
retrieving revision 1.557
diff -u -w -d -r1.556 -r1.557
--- cust_main.pm 30 Sep 2010 01:11:08 -0000 1.556
+++ cust_main.pm 10 Oct 2010 01:38:21 -0000 1.557
@@ -1655,6 +1655,7 @@
$self->payinfo($payinfo);
$self->paycvv('');
+ unless ( $ignore_banned_card ) {
my $ban = qsearchs('banned_pay', $self->_banned_pay_hashref);
if ( $ban ) {
return 'Banned ACH account: banned on '.
@@ -1662,6 +1663,7 @@
' by '. $ban->otaker.
' (ban# '. $ban->bannum. ')';
}
+ }
} elsif ( $self->payby eq 'LECB' ) {
@@ -2413,6 +2415,7 @@
WHERE custnum = $custnum
";
+ #XXX fix harmless but loud: Argument "" isn't numeric in sprintf
sprintf( "%.2f", $self->scalar_sql($sql) );
}
@@ -2451,6 +2454,7 @@
WHERE custnum = $custnum
";
+ #XXX fix harmless but loud: Argument "" isn't numeric in sprintf
sprintf( "%.2f", $self->scalar_sql($sql) );
}
@@ -2489,6 +2493,7 @@
WHERE custnum = $custnum
";
+ #XXX fix harmless but loud: Argument "" isn't numeric in sprintf
sprintf( "%.2f", $self->scalar_sql($sql) );
}
More information about the freeside-commits
mailing list