From 49f36d0388f7eb8633736e145646907fe72bae86 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 30 Jan 2008 20:00:19 +0000 Subject: Correcting transaction date filter problems for AP outstanding report. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2065 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB/AA.pm') diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index da506947..3e112e11 100644 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -809,7 +809,7 @@ sub transactions { $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, -- cgit v1.2.3