diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-21 23:14:03 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-21 23:14:03 +0000 |
commit | 455e6e83674e0bf8e249fd81b8141c33af1b317b (patch) | |
tree | 8bbdbb3095cfdbc7e2980f79e49144cce02cb386 /LedgerSMB | |
parent | 6166e84787eef3317656b10cbdcbb41f980084f9 (diff) |
Changing AP/AR Oustanding Reports to Hide SL Legacy Rounding Errors.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2076 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/AA.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index 3d02b55f..80d67a08 100644 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -817,7 +817,7 @@ sub transactions { a.amount, a.terms, a.notes, a.shipvia, a.shippingpoint, vce.name, vc.meta_number, a.entity_id, a.till, ex.$buysell, d.description, a.ponumber, a.invoice, a.datepaid $acc_trans_fields - HAVING a.amount::numeric(15,2) <> (a.amount::numeric(15,2) - sum(acs.amount))::numeric(15,2) |; + HAVING abs(a.amount - (a.amount - sum(acs.amount))) > 0.005 |; } else { $query = qq| |