projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
one last tiny bugfix for the retry_realtime functionality
[freeside.git]
/
FS
/
FS
/
cust_credit_refund.pm
diff --git
a/FS/FS/cust_credit_refund.pm
b/FS/FS/cust_credit_refund.pm
index
83f6e2f
..
cc3b32c
100644
(file)
--- a/
FS/FS/cust_credit_refund.pm
+++ b/
FS/FS/cust_credit_refund.pm
@@
-149,7
+149,7
@@
sub check {
;
return $error if $error;
;
return $error if $error;
- return "amount must be > 0" if $self->amount
=
= 0;
+ return "amount must be > 0" if $self->amount
<
= 0;
$self->_date(time) unless $self->_date;
$self->_date(time) unless $self->_date;
@@
-176,7
+176,7
@@
Returns the credit (see L<FS::cust_credit>)
=cut
=cut
-sub cust_
refund
{
+sub cust_
credit
{
my $self = shift;
qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
}
my $self = shift;
qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
}
@@
-185,7
+185,7
@@
sub cust_refund {
=head1 VERSION
=head1 VERSION
-$Id: cust_credit_refund.pm,v 1.
7 2002-01-24 16:54:53
ivan Exp $
+$Id: cust_credit_refund.pm,v 1.
9 2002-01-26 01:52:31
ivan Exp $
=head1 BUGS
=head1 BUGS