From 9c7983f5cd23027bdd73694bfc3b5d269af9998b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 13 Sep 2006 06:45:11 +0000 Subject: Added most of the code for batch printing for checks. Doesn't quite work yet but nothing else should be broken. If we have to, I suppose we could disable the UI option in the next release if necessary. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@81 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/mozilla/aa.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/mozilla/aa.pl') diff --git a/bin/mozilla/aa.pl b/bin/mozilla/aa.pl index abbbd7da..95e4b3d0 100755 --- a/bin/mozilla/aa.pl +++ b/bin/mozilla/aa.pl @@ -963,6 +963,10 @@ sub post { } if (AA->post_transaction(\%myconfig, \%$form)) { + $form->update_status(\%myconfig); + if ($form->{printandpost}){ + &{ "print_$form->{formname}" }($old_form, 1); + } $form->redirect($locale->text('Transaction posted!')); } else { $form->error($locale->text('Cannot post transaction!')); -- cgit v1.2.3