[22968] Bug #584869 net change line in general journal report broken

Do not show any totals in the General Journal report.

According to

http://www.accountingtools.com/general-journal
and
http://accountophobia.blogspot.de/2012/06/general-journal.html

it is not the idea of the General Journal to show totals but
only list transactions.

This patch makes use of the ledger-type? flag and suppresses
the output of the Net Changes accordingly.

By that, the General Journal will not show Totals, but the
Account Report still does.

Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22975 57a11ea4-9604-0410-9ed3-97b8803252fd
2.4
Geert Janssens 13 years ago
parent 90144d0ec6
commit 87bc498e72

@ -550,8 +550,10 @@
debit-value "grand-total" #t)
(add-subtotal-row (_ "Total Value Credits") leader table used-columns
credit-value "grand-total" #t)))
(add-subtotal-row (_ "Net Change") leader table used-columns
(if ledger-type?
(add-subtotal-row (_ "Net Change") leader table used-columns
total-collector "grand-total" #f)
)
(add-subtotal-row (_ "Value Change") leader table used-columns
total-value "grand-total" #t))

Loading…
Cancel
Save