X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_pay_batch.pm;h=6e261c6ab215d82b7e4fc86964ac9c4c20c30ee8;hp=de87ef1e1f6c97aa68dc08965ff1a4d1a111074f;hb=13a6b896a3f9d0137ade340c4be89b04d127b345;hpb=9a692cc4af760d384225014904874ffcf3f9e33f diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm index de87ef1e1..6e261c6ab 100644 --- a/FS/FS/cust_pay_batch.pm +++ b/FS/FS/cust_pay_batch.pm @@ -174,15 +174,16 @@ sub check { $self->payname($1); } - #$self->zip =~ /^\s*(\w[\w\-\s]{3,8}\w)\s*$/ - # or return "Illegal zip: ". $self->zip; - #$self->zip($1); + #we have lots of old zips in there... don't hork up batch results cause of em + $self->zip =~ /^\s*(\w[\w\-\s]{3,8}\w)\s*$/ + or return "Illegal zip: ". $self->zip; + $self->zip($1); $self->country =~ /^(\w\w)$/ or return "Illegal country: ". $self->country; $self->country($1); - $error = $self->ut_zip('zip', $self->country); - return $error if $error; + #$error = $self->ut_zip('zip', $self->country); + #return $error if $error; #check invnum, custnum, ?