projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't set an empty externalFlag
[freeside.git]
/
FS
/
FS
/
cust_pay_batch.pm
diff --git
a/FS/FS/cust_pay_batch.pm
b/FS/FS/cust_pay_batch.pm
index
dfafb0a
..
1a53046
100644
(file)
--- a/
FS/FS/cust_pay_batch.pm
+++ b/
FS/FS/cust_pay_batch.pm
@@
-173,23
+173,26
@@
sub check {
$self->payname($1);
}
$self->payname($1);
}
- $self->zip =~ /^\s*(\w[\w\-\s]{3,8}\w)\s*$/
- or return "Illegal zip: ". $self->zip;
- $self->zip($1);
+
#
$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);
$self->country =~ /^(\w\w)$/ or return "Illegal country: ". $self->country;
$self->country($1);
+ $error = $self->ut_zip('zip', $self->country);
+ return $error if $error;
+
#check invnum, custnum, ?
#check invnum, custnum, ?
- ''; #no error
+ $self->SUPER::check;
}
=back
=head1 VERSION
}
=back
=head1 VERSION
-$Id: cust_pay_batch.pm,v 1.
5 2002-02-14 01:12:19 ivan
Exp $
+$Id: cust_pay_batch.pm,v 1.
7 2003-08-05 00:20:42 khoff
Exp $
=head1 BUGS
=head1 BUGS