From: ivan Date: Thu, 24 Jan 2002 11:43:39 +0000 (+0000) Subject: and it seems that cust_credit_refund::cust_credit should exist.. X-Git-Tag: freeside_1_4_0pre11~127 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9bf94801a1dd34dadf2862b52886e1257995ef08;p=freeside.git and it seems that cust_credit_refund::cust_credit should exist.. --- diff --git a/FS/FS/cust_credit_refund.pm b/FS/FS/cust_credit_refund.pm index fb09a42d8..cf16284bc 100644 --- a/FS/FS/cust_credit_refund.pm +++ b/FS/FS/cust_credit_refund.pm @@ -168,11 +168,23 @@ sub cust_refund { qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } ); } +=item cust_credit + +Returns the credit (see L) + +=cut + +sub cust_refund { + my $self = shift; + qsearchs( 'cust_credit', { 'crednum' => $self->crednum } ); +} + + =back =head1 VERSION -$Id: cust_credit_refund.pm,v 1.4 2001-09-02 07:49:52 ivan Exp $ +$Id: cust_credit_refund.pm,v 1.5 2002-01-24 11:43:39 ivan Exp $ =head1 BUGS