document and check refund reasons
[freeside.git] / FS / FS / cust_refund.pm
index 250bd20..4a1037f 100644 (file)
@@ -44,6 +44,8 @@ inherits from FS::Record.  The following fields are currently supported:
 
 =item refund - Amount of the refund
 
+=item reason - Reason for the refund
+
 =item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
 L<Time::Local> and L<Date::Parse> for conversion functions.
 
@@ -221,6 +223,7 @@ sub check {
     $self->ut_numbern('refundnum')
     || $self->ut_numbern('custnum')
     || $self->ut_money('refund')
+    || $self->ut_text('reason')
     || $self->ut_numbern('_date')
     || $self->ut_textn('paybatch')
     || $self->ut_enum('closed', [ '', 'Y' ])
@@ -260,14 +263,14 @@ sub check {
 
   $self->otaker(getotaker);
 
-  $self->SUPER::check;
+  ''; #no error
 }
 
 =back
 
 =head1 VERSION
 
-$Id: cust_refund.pm,v 1.21 2003-08-05 00:20:42 khoff Exp $
+$Id: cust_refund.pm,v 1.18.4.3 2004-07-06 14:22:57 ivan Exp $
 
 =head1 BUGS