mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
The report title should change when the report name field is changed
in the options. #102266 and #102667 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7758 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3d3fb1da20
commit
9caa94cc96
@ -176,8 +176,8 @@
|
||||
gnc:timepair-end-day-time) from-date-tp)
|
||||
(gnc:timepair-end-day-time to-date-tp)
|
||||
(gnc:deltasym-to-delta interval)))
|
||||
(report-title (if inc-exp? (_ "Income/Expense Chart")
|
||||
(_ "Net Worth Chart")))
|
||||
(report-title (get-option gnc:pagename-general
|
||||
gnc:optname-reportname))
|
||||
(classified-accounts (gnc:decompose-accountlist accounts))
|
||||
(document (gnc:make-html-document))
|
||||
(chart (gnc:make-html-barchart))
|
||||
|
@ -164,7 +164,8 @@
|
||||
(get-option gnc:pagename-general
|
||||
optname-from-date))))
|
||||
(report-title (sprintf #f
|
||||
(_ "Profit and Loss - %s to %s")
|
||||
(_ "%s - %s to %s")
|
||||
(get-option gnc:pagename-general gnc:optname-reportname)
|
||||
(gnc:print-date from-date-tp)
|
||||
(gnc:print-date to-date-tp)))
|
||||
(doc (gnc:make-html-document)))
|
||||
|
Loading…
Reference in New Issue
Block a user