From bda04bbe95f0ff8996619a5c2599b070d4a7326f Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 22 Nov 2008 21:38:18 +0000 Subject: Batch numbers assigned at batch creation phase. Tests working. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2414 4979c152-3d1c-0410-bac9-87ea11338e46 --- scripts/vouchers.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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( -- cgit v1.2.3