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

SF.net SVN: ledger-smb: [2065] trunk/LedgerSMB/AA.pm



Revision: 2065
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2065&view=rev
Author:   einhverfr
Date:     2008-01-30 12:00:19 -0800 (Wed, 30 Jan 2008)

Log Message:
-----------
Correcting transaction date filter problems for AP outstanding report.

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

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2008-01-30 18:22:09 UTC (rev 2064)
+++ trunk/LedgerSMB/AA.pm	2008-01-30 20:00:19 UTC (rev 2065)
@@ -809,7 +809,7 @@
 		$acc_trans_join
 		    WHERE c.link = '$form->{ARAP}' AND 
 		          (|.$dbh->quote($form->{transdateto}) . qq| IS NULL OR 
-		           |.$dbh->quote($form->{transdateto}) . qq| <= acs.transdate)
+		           |.$dbh->quote($form->{transdateto}) . qq| >= acs.transdate)
 		 GROUP BY a.id, a.invnumber, a.ordnumber, a.transdate, a.duedate, a.netamount,
 		          a.amount, a.terms, a.notes, a.shipvia, a.shippingpoint, vce.name,
 		          vc.meta_number, a.entity_id, a.till, ex.$buysell, d.description,


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