gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Aug 15 20:42:25 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/6079615b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/80cb64ae (commit)
	from  https://github.com/Gnucash/gnucash/commit/af919780 (commit)



commit 6079615be1873f7cf16ee2022bd99abd0db32df4
Merge: af91978088 80cb64aeab
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Aug 15 17:39:55 2026 -0700

    Merge PRG-112's 'cash-flow-account-list' into stable.


commit 80cb64aeaba0dea7ff52669e0fc3f6d5ba787cce
Author: PRG-112 <tt at pieroog.com>
Date:   Fri Aug 7 11:16:49 2026 +0200

    Enhancement - Cash Flow report - a configurable visibility of the list of accounts
    
    An additional configuration checkbox for Cash Flow report. With this one, the list of involved accounts, on the top of the report, may be switched off and hidden.
    
    The old way (i.e. -> Show The list) is still the default option.

diff --git a/gnucash/report/reports/standard/cash-flow.scm b/gnucash/report/reports/standard/cash-flow.scm
index 69904a0f58..c6cbe12097 100644
--- a/gnucash/report/reports/standard/cash-flow.scm
+++ b/gnucash/report/reports/standard/cash-flow.scm
@@ -50,6 +50,7 @@
 (define optname-price-source (N_ "Price Source"))
 (define optname-show-rates (N_ "Show Exchange Rates"))
 (define optname-show-full-names (N_ "Show Full Account Names"))
+(define optname-show-selected-acct (N_ "Show Selected Accounts"))
 (define optname-include-trading-accounts (N_ "Include Trading Accounts in report"))
 
 ;; options generator
@@ -78,6 +79,10 @@
       gnc:pagename-general optname-show-full-names
       "e" (N_ "Show full account names (including parent accounts).") #t)
 
+    (gnc-register-simple-boolean-option options
+      gnc:pagename-general optname-show-selected-acct
+      "f" (N_ "Show the list of selected accounts on the top of this report.") #t)
+
     ;; accounts to work on
     (gnc:options-add-account-selection!
      options gnc:pagename-accounts
@@ -129,6 +134,8 @@
                                   optname-show-rates))
          (show-full-names? (get-option gnc:pagename-general
                                        optname-show-full-names))
+         (show-sel-acct-list? (get-option gnc:pagename-general
+                                       optname-show-selected-acct))
          (from-date-t64 (gnc:time64-start-day-time
                          (gnc:date-option-absolute-time
                           (get-option gnc:pagename-general
@@ -243,6 +250,7 @@
                   (money-out-alist (cdr (assq 'money-out-alist result)))
                   (money-out-collector (cdr (assq 'money-out-collector result))))
 
+            (when show-sel-acct-list?
               (gnc:html-document-add-object!
                doc
                (gnc:make-html-text (G_ "Selected Accounts")))
@@ -252,8 +260,8 @@
                (gnc:make-html-text
                 (gnc:html-markup-ul
                  account-disp-list)))
-
-              (gnc:html-table-append-ruler! table 2)
+                 (gnc:html-table-append-ruler! table 2)
+            )
 
               (gnc:html-table-append-row/markup!
                table



Summary of changes:
 gnucash/report/reports/standard/cash-flow.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list