X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch.pm;h=2bf307c068d43086519a647ed38d45e5c8786038;hb=633c48448d9468690b7ad77eb6ff7c660a286658;hp=41b312c7a90318089fbc183974443b0e91d1e15e;hpb=aaad08cae3a0d46d012de5b78360101cda836c30;p=freeside.git diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 41b312c7a..2bf307c06 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -34,7 +34,13 @@ FS::Record. The following fields are currently supported: =item batchnum - primary key -=item status - +=item payby - CARD or CHEK + +=item status - O (Open), I (In-transit), or R (Resolved) + +=item download - + +=item upload - =back @@ -98,6 +104,7 @@ sub check { my $error = $self->ut_numbern('batchnum') + || $self->ut_enum('payby', [ 'CARD', 'CHEK' ]) || $self->ut_enum('status', [ 'O', 'I', 'R' ]) ; return $error if $error; @@ -109,7 +116,7 @@ sub check { =head1 BUGS -The author forgot to customize this manpage. +status is somewhat redundant now that download and upload exist =head1 SEE ALSO