add svc_external
[freeside.git] / FS / FS / cust_credit_refund.pm
index 7079d28..d0deae2 100644 (file)
@@ -156,7 +156,7 @@ sub check {
   return "unknown cust_credit.crednum: ". $self->crednum
     unless qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
 
-  ''; #no error
+  $self->SUPER::check;
 }
 
 =item cust_refund
@@ -176,7 +176,7 @@ Returns the credit (see L<FS::cust_credit>)
 
 =cut
 
-sub cust_refund {
+sub cust_credit {
   my $self = shift;
   qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
 }
@@ -185,7 +185,7 @@ sub cust_refund {
 
 =head1 VERSION
 
-$Id: cust_credit_refund.pm,v 1.8 2002-01-24 16:58:47 ivan Exp $
+$Id: cust_credit_refund.pm,v 1.10 2003-08-05 00:20:41 khoff Exp $
 
 =head1 BUGS