diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-01-10 23:00:37 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-01-10 23:00:37 +0000 |
commit | c0cce01de4a4b285921059056e1d124ddb28a42f (patch) | |
tree | fb19d22526fb6811bb7b867e9212bd5459c2c9c0 | |
parent | 7a76d707f867198fbdb60e1b405c46c13b00afd4 (diff) |
Fixing trial balance not to pull future approved transactions for the balance.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2036 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/RP.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/RP.pm b/LedgerSMB/RP.pm index ebca11c3..40bc3d08 100644 --- a/LedgerSMB/RP.pm +++ b/LedgerSMB/RP.pm @@ -1473,7 +1473,7 @@ sub trial_balance { 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|; |