Bug 798060 - Invoices are missing on Customer report after upgrade

8c21e895 was incomplete... whereby txns were hidden because their
qdates were earlier than start date, the totals were accumulated yet
they were not marked as seen, and could have been processed already.
This commit is contained in:
Christopher Lam 2021-01-07 22:41:29 +08:00
parent fee436c549
commit d054fe2047

View File

@ -790,6 +790,7 @@
((< (xaccTransGetDate (xaccSplitGetParent (car splits))) start-date)
(let* ((txn (xaccSplitGetParent (car splits)))
(value (AP-negate (xaccTransGetAccountAmount txn acc))))
(hash-set! seen-txns txn #t)
(lp printed? odd-row? (cdr splits) invalid-splits (+ total value)
debit credit tax sale)))