projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55e8ec5
)
fix i18n zip
author
ivan
<ivan>
Fri, 22 Feb 2002 23:08:11 +0000
(23:08 +0000)
committer
ivan
<ivan>
Fri, 22 Feb 2002 23:08:11 +0000
(23:08 +0000)
FS/FS/cust_pay_batch.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay_batch.pm
b/FS/FS/cust_pay_batch.pm
index
dfafb0a
..
c4427c3
100644
(file)
--- a/
FS/FS/cust_pay_batch.pm
+++ b/
FS/FS/cust_pay_batch.pm
@@
-173,13
+173,16
@@
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, ?
''; #no error
#check invnum, custnum, ?
''; #no error
@@
-189,7
+192,7
@@
sub check {
=head1 VERSION
=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.
6 2002-02-22 23:08:11
ivan Exp $
=head1 BUGS
=head1 BUGS