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

SF.net SVN: ledger-smb:[3107] trunk/bin/is.pl



Revision: 3107
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3107&view=rev
Author:   einhverfr
Date:     2010-10-28 20:39:07 +0000 (Thu, 28 Oct 2010)

Log Message:
-----------
Committing fix for void button duplicating invoices instead of reversing them

Modified Paths:
--------------
    trunk/bin/is.pl

Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl	2010-10-26 16:51:00 UTC (rev 3106)
+++ trunk/bin/is.pl	2010-10-28 20:39:07 UTC (rev 3107)
@@ -522,10 +522,10 @@
 }
 
 sub void {
-    for (1 .. $form->{rowcount}){
+    for my $i (1 .. $form->{rowcount}){
         $form->{"qty_$i"} *= -1;
     }
-    $form->{void} = 1;
+    $form->{reverse} = 1;
     &post_as_new;
 }
 


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