X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch.pm;h=2bf307c068d43086519a647ed38d45e5c8786038;hb=a37da3d6492e60f723b277b90565abc34d8990d6;hp=192c5df8381ef05842edbf4204431a5e5adf8a16;hpb=50f25b285b2caf77d267ed66f03e56924ad7229f;p=freeside.git diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 192c5df83..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,7 +104,8 @@ sub check { my $error = $self->ut_numbern('batchnum') - || $self->ut_enum('status', [ '', 'I', 'R' ]) + || $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