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

SF.net SVN: ledger-smb:[3121] trunk/sql/modules/Voucher.sql



Revision: 3121
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3121&view=rev
Author:   einhverfr
Date:     2011-02-23 21:26:01 +0000 (Wed, 23 Feb 2011)

Log Message:
-----------
Correcting bug reported  by John Locke, receipt batches not posting

Modified Paths:
--------------
    trunk/sql/modules/Voucher.sql

Modified: trunk/sql/modules/Voucher.sql
===================================================================
--- trunk/sql/modules/Voucher.sql	2011-02-17 20:37:13 UTC (rev 3120)
+++ trunk/sql/modules/Voucher.sql	2011-02-23 21:26:01 UTC (rev 3121)
@@ -313,7 +313,7 @@
 	UPDATE acc_trans SET approved = true 
 	WHERE voucher_id IN (select id FROM voucher 
 		WHERE batch_id = in_batch_id
-		AND batch_class IN (3, 4, 7, 8));
+		AND batch_class IN (3, 4, 6, 7));
 
 	UPDATE batch 
 	SET approved_on = now(),


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