summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vouchers.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vouchers.pl b/scripts/vouchers.pl
index d6ed9b23..f21d2e42 100644
--- a/scripts/vouchers.pl
+++ b/scripts/vouchers.pl
@@ -41,6 +41,7 @@ sub create_batch {
my $batch = LedgerSMB::Batch->new({base => $request});
$batch->{class_id} = $batch->get_class_id($batch->{batch_type});
+ $batch->get_new_info;
$batch->get_search_results({mini => 1});
my $template = LedgerSMB::Template->new(