mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
TR: simplify no-account-after-filtering stage
This commit is contained in:
parent
d8d552ee8a
commit
840e1f8b02
@ -1744,19 +1744,17 @@ tags within description, notes or memo. ")
|
||||
;; error condition: no accounts specified or obtained after filtering
|
||||
(begin
|
||||
|
||||
;; error condition: no accounts specified
|
||||
(begin
|
||||
(gnc:html-document-add-object!
|
||||
document
|
||||
(gnc:html-make-no-account-warning
|
||||
report-title (gnc:report-id report-obj)))
|
||||
|
||||
;; if an empty-report-message is passed by a derived report to
|
||||
;; the renderer, display it here.
|
||||
(if empty-report-message
|
||||
(gnc:html-document-add-object!
|
||||
document
|
||||
(gnc:html-make-no-account-warning report-title (gnc:report-id report-obj)))
|
||||
|
||||
;; if an empty-report-message is passed by a derived report to
|
||||
;; the renderer, display it here.
|
||||
(if empty-report-message
|
||||
(gnc:html-document-add-object!
|
||||
document
|
||||
empty-report-message)))
|
||||
empty-report-message))
|
||||
|
||||
(if (member 'no-match infobox-display)
|
||||
(gnc:html-document-add-object!
|
||||
|
Loading…
Reference in New Issue
Block a user