summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-02-21 06:20:05 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-02-21 06:20:05 +0000
commit6166e84787eef3317656b10cbdcbb41f980084f9 (patch)
tree8bdcb5eb6a9f94d625b100705e2ee44268e81d73 /LedgerSMB
parent75adf4fe0965c67e82200deed4e23b873c48f8dd (diff)
Corrections for vouchers and AP Outstanding Report
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2075 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/AA.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index a8c712b8..3d02b55f 100644
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -812,6 +812,7 @@ sub transactions {
WHERE c.link = '$form->{ARAP}' AND
(|.$dbh->quote($form->{transdateto}) . qq| IS NULL OR
|.$dbh->quote($form->{transdateto}) . qq| >= acs.transdate)
+ AND a.approved IS TRUE AND acs.approved IS TRUE
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,