summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2000-02-02 20:22:18 +0000
committerivan <ivan>2000-02-02 20:22:18 +0000
commit3bfec7cf75a1a4eb4da1cdf8c64003bd6babcd81 (patch)
treed3bdf9eeedd4c713a3e0858f0dee3f16bbe2f36d /FS/FS
parentb812b5a4a664e0bd271392ae4a609b18e85ca6b6 (diff)
bugfix prepayment in signup server
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/cust_main.pm4
-rw-r--r--FS/FS/prepay_credit.pm9
2 files changed, 8 insertions, 5 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 59ec41b81..26883d554 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -399,7 +399,7 @@ sub check {
}
- if ( $self->paydate eq '' ) {
+ if ( $self->paydate eq '' || $self->paydate eq '-' ) {
return "Expriation date required"
unless $self->payby eq 'BILL' || $self->payby eq 'PREPAY';
$self->paydate('');
@@ -993,7 +993,7 @@ sub check_invoicing_list {
=head1 VERSION
-$Id: cust_main.pm,v 1.3 2000-01-31 05:22:23 ivan Exp $
+$Id: cust_main.pm,v 1.4 2000-02-02 20:22:18 ivan Exp $
=head1 BUGS
diff --git a/FS/FS/prepay_credit.pm b/FS/FS/prepay_credit.pm
index 86274aa4c..113cee823 100644
--- a/FS/FS/prepay_credit.pm
+++ b/FS/FS/prepay_credit.pm
@@ -96,7 +96,7 @@ sub check {
$identifier =~ s/\W//g; #anything else would just confuse things
$self->identifier($identifier);
- $self->ut_number('prepaynum')
+ $self->ut_numbern('prepaynum')
|| $self->ut_alpha('identifier')
|| $self->ut_money('amount')
;
@@ -107,7 +107,7 @@ sub check {
=head1 VERSION
-$Id: prepay_credit.pm,v 1.1 2000-01-31 05:22:23 ivan Exp $
+$Id: prepay_credit.pm,v 1.2 2000-02-02 20:22:18 ivan Exp $
=head1 BUGS
@@ -118,7 +118,10 @@ L<FS::Record>, schema.html from the base documentation.
=head1 HISTORY
$Log: prepay_credit.pm,v $
-Revision 1.1 2000-01-31 05:22:23 ivan
+Revision 1.2 2000-02-02 20:22:18 ivan
+bugfix prepayment in signup server
+
+Revision 1.1 2000/01/31 05:22:23 ivan
prepaid "internet cards"