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

SF.net SVN: ledger-smb: [2036] trunk/LedgerSMB/RP.pm



Revision: 2036
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2036&view=rev
Author:   einhverfr
Date:     2008-01-10 15:00:37 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
Fixing trial balance not to pull future approved transactions for the balance.

Modified Paths:
--------------
    trunk/LedgerSMB/RP.pm

Modified: trunk/LedgerSMB/RP.pm
===================================================================
--- trunk/LedgerSMB/RP.pm	2008-01-10 22:01:43 UTC (rev 2035)
+++ trunk/LedgerSMB/RP.pm	2008-01-10 23:00:37 UTC (rev 2036)
@@ -1473,7 +1473,7 @@
 			    JOIN chart c ON (c.id = ac.chart_id)
 			         $dpt_join
 			   WHERE $where $dpt_where $project
-				         AND $approved OR (ac.approved)
+				         AND ($approved OR ac.approved)
 			GROUP BY c.accno, c.description, c.category, c.contra
 			ORDER BY accno|;
 


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