From 87bc498e7291349c9867d0afc22250fe88e27484 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Fri, 10 May 2013 19:19:30 +0000 Subject: [PATCH] [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 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22975 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/standard-reports/register.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/report/standard-reports/register.scm b/src/report/standard-reports/register.scm index 83c6e2eea9..1db3f34442 100644 --- a/src/report/standard-reports/register.scm +++ b/src/report/standard-reports/register.scm @@ -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))