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

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



Revision: 6692
          http://sourceforge.net/p/ledger-smb/code/6692
Author:   einhverfr
Date:     2014-01-28 14:24:07 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
Fixing totals on ar batches, summary report

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

Modified: trunk/sql/modules/Voucher.sql
===================================================================
--- trunk/sql/modules/Voucher.sql	2014-01-28 14:10:37 UTC (rev 6691)
+++ trunk/sql/modules/Voucher.sql	2014-01-28 14:24:07 UTC (rev 6692)
@@ -159,7 +159,7 @@
 				     WHEN vc.id  = 1
 				     THEN ap.amount 
 				     WHEN vc.id = 2
-                                     THEN ap.amount
+                                     THEN ar.amount
 				     ELSE 0
                                 END) AS transaction_total,
 			sum(

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