summaryrefslogtreecommitdiff
path: root/LedgerSMB/Batch.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Batch.pm')
-rw-r--r--LedgerSMB/Batch.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/LedgerSMB/Batch.pm b/LedgerSMB/Batch.pm
index 34d0185c..a4c4ecaf 100644
--- a/LedgerSMB/Batch.pm
+++ b/LedgerSMB/Batch.pm
@@ -71,4 +71,10 @@ sub list_vouchers {
return @{$self->{vouchers}};
}
+sub get {
+ my ($self) = @_;
+ my ($ref) = $self->exec_method(funcname => 'voucher_get_batch');
+ $self->merge($ref);
+}
+
1;