gnucash maint: Bug 793018 - Balance (with >>eguile<<) - Report Title can't be changed

Christopher Lam clam at code.gnucash.org
Sun Aug 18 07:44:39 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/99c69023 (commit)
	from  https://github.com/Gnucash/gnucash/commit/4a81bb34 (commit)



commit 99c69023cce04c8a5fcc4309abc3b1337091281a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Aug 18 19:26:09 2019 +0800

    Bug 793018 - Balance (with >>eguile<<) - Report Title can't be changed

diff --git a/gnucash/report/business-reports/balsheet-eg.eguile.scm b/gnucash/report/business-reports/balsheet-eg.eguile.scm
index c3bcfe9e1..e4ab987f3 100644
--- a/gnucash/report/business-reports/balsheet-eg.eguile.scm
+++ b/gnucash/report/business-reports/balsheet-eg.eguile.scm
@@ -128,7 +128,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text-html; charset=utf-8">
-<title><?scm:d coyname ?> <?scm:d reportname ?> <?scm:d (qof-print-date opt-date) ?></title>
+<title><?scm:d coyname ?> <?scm:d opt-report-title ?> <?scm:d (qof-print-date opt-date) ?></title>
 
 <link rel="stylesheet" href="<?scm:d opt-css-file ?>" type="text/css">
 <!-- Note that the stylesheet file is overridden by some options, i.e.
@@ -152,7 +152,7 @@
 </head>
 <body>
 <h3><?scm:d coyname ?></h3>
-<h2><?scm:d reportname ?> <?scm:d (qof-print-date opt-date) ?></h2>
+<h2><?scm:d opt-report-title ?> <?scm:d (qof-print-date opt-date) ?></h2>
 
 <?scm
   ;; This is where the work is done.
diff --git a/gnucash/report/business-reports/balsheet-eg.scm b/gnucash/report/business-reports/balsheet-eg.scm
index 928512a8b..cad204b95 100644
--- a/gnucash/report/business-reports/balsheet-eg.scm
+++ b/gnucash/report/business-reports/balsheet-eg.scm
@@ -326,7 +326,7 @@
          (opt-report-commodity (get-option commodities-page optname-report-commodity))
          (opt-price-source     (get-option commodities-page optname-price-source))
          (opt-show-foreign?    (get-option commodities-page optname-show-foreign))
-         (opt-report-title     (get-option general-page     optname-report-title))
+         (opt-report-title     (get-option general-page     gnc:optname-reportname))
          (opt-date             (gnc:time64-end-day-time
                                  (gnc:date-option-absolute-time
                                    (get-option general-page optname-date))))



Summary of changes:
 gnucash/report/business-reports/balsheet-eg.eguile.scm | 4 ++--
 gnucash/report/business-reports/balsheet-eg.scm        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list