summaryrefslogtreecommitdiff
path: root/FS/FS/pay_batch.pm
diff options
context:
space:
mode:
authorivan <ivan>2006-10-08 08:17:06 +0000
committerivan <ivan>2006-10-08 08:17:06 +0000
commit22c70177969f30e2e419b32cb5d475c143f10b12 (patch)
tree575464d297893db89f4452e85d3d5b3a92c89974 /FS/FS/pay_batch.pm
parent1530e25643850b0cd6e59332c79c8760243b5d5e (diff)
add menu items for credit card batching, debug last-minute changes to payby.pm, add ACL for re-processing batches, separate CARD and CHEK batches, fixed defaults for batch formats
Diffstat (limited to 'FS/FS/pay_batch.pm')
-rw-r--r--FS/FS/pay_batch.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm
index 7d9d9fb..2bf307c 100644
--- a/FS/FS/pay_batch.pm
+++ b/FS/FS/pay_batch.pm
@@ -34,7 +34,9 @@ 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 -
@@ -102,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;