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

SF.net SVN: ledger-smb:[6712] trunk/LedgerSMB/Scripts/vouchers.pm



Revision: 6712
          http://sourceforge.net/p/ledger-smb/code/6712
Author:   einhverfr
Date:     2014-01-30 11:03:05 +0000 (Thu, 30 Jan 2014)
Log Message:
-----------
Fixing syntax errors and scoping problems from payment reversal code

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/vouchers.pm

Modified: trunk/LedgerSMB/Scripts/vouchers.pm
===================================================================
--- trunk/LedgerSMB/Scripts/vouchers.pm	2014-01-30 10:34:30 UTC (rev 6711)
+++ trunk/LedgerSMB/Scripts/vouchers.pm	2014-01-30 11:03:05 UTC (rev 6712)
@@ -328,8 +328,9 @@
     my ($request) = @_;
     my $batch = LedgerSMB::Batch->new(base => $request);
     $batch->get;
+    my $a_class;
     for (1 .. $request->{rowcount_}){
-        my $id = $request->{"id_$_"}
+        my $id = $request->{"id_$_"};
         $batch->call_procedure(procname => 'overpayment__reverse',
            args => [$id, $batch->{post_date}, $batch->{id}, $a_class,
                  $request->{cash_accno}, $request->{exchangerate}, 

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


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits