[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2766] trunk/scripts/vouchers.pl



Revision: 2766
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2766&view=rev
Author:   einhverfr
Date:     2009-09-10 19:50:13 +0000 (Thu, 10 Sep 2009)

Log Message:
-----------
Correcting issue with batch detail posting

Modified Paths:
--------------
    trunk/scripts/vouchers.pl

Modified: trunk/scripts/vouchers.pl
===================================================================
--- trunk/scripts/vouchers.pl	2009-09-09 15:33:16 UTC (rev 2765)
+++ trunk/scripts/vouchers.pl	2009-09-10 19:50:13 UTC (rev 2766)
@@ -400,7 +400,10 @@
 }
 
 sub get_batch_batch_approve {
-    batch_approve(@_);
+    my ($request) = @_;
+    my $batch = LedgerSMB::Batch->new(base => $request);
+    $batch->post;
+    search_batch($request);
 }
 
 sub get_batch_voucher_delete {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.