summaryrefslogtreecommitdiff
path: root/FS/FS/cust_refund.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-01-24 06:52:44 +0000
committerivan <ivan>2002-01-24 06:52:44 +0000
commit254ccae67eb65fe7d9320c121e76c447b937abd9 (patch)
treea47cf2b28ff5e4d99735522d867e878c5cd2d936 /FS/FS/cust_refund.pm
parentf3d5a1bc3bf8ffe4b2fe6a0da3b201ba988b21a8 (diff)
from jeff@fix
<rluser> in FS::cust_refund::check 'amount' should probably be replaced with +'refund' in two places
Diffstat (limited to 'FS/FS/cust_refund.pm')
-rw-r--r--FS/FS/cust_refund.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_refund.pm b/FS/FS/cust_refund.pm
index 0f87679..c7d8a6d 100644
--- a/FS/FS/cust_refund.pm
+++ b/FS/FS/cust_refund.pm
@@ -215,13 +215,13 @@ sub check {
my $error =
$self->ut_number('refundnum')
|| $self->ut_numbern('custnum')
- || $self->ut_money('amount')
+ || $self->ut_money('refund')
|| $self->ut_numbern('_date')
|| $self->ut_textn('paybatch')
;
return $error if $error;
- return "amount must be > 0 " if $self->amount == 0;
+ return "refund must be > 0 " if $self->refund == 0;
$self->_date(time) unless $self->_date;
@@ -259,7 +259,7 @@ sub check {
=head1 VERSION
-$Id: cust_refund.pm,v 1.11 2002-01-24 06:46:29 ivan Exp $
+$Id: cust_refund.pm,v 1.12 2002-01-24 06:52:44 ivan Exp $
=head1 BUGS