COSMETIC: if grand-totals=#f then omit <hr>

I think <hr> and grand-total belong together because they share
the same style.
This commit is contained in:
Christopher Lam 2017-12-11 06:42:56 +08:00
parent a81c348310
commit f2df1bd49c

View File

@ -1300,16 +1300,16 @@ tags within description, notes or memo. ")
(set! work-done (+ 1 work-done))
(if (null? splits)
(begin
(gnc:html-table-append-row/markup!
table def:grand-total-style
(list
(gnc:make-html-table-cell/size
1 (+ width-left-columns width-right-columns) (gnc:make-html-text (gnc:html-markup-hr)))))
(if (opt-val gnc:pagename-display "Totals")
(if (opt-val gnc:pagename-display "Totals")
(begin
(gnc:html-table-append-row/markup!
table def:grand-total-style
(list
(gnc:make-html-table-cell/size
1 (+ width-left-columns width-right-columns)
(gnc:make-html-text (gnc:html-markup-hr)))))
(add-subtotal-row (render-grand-total) total-collectors def:grand-total-style)))
(let* ((current (car splits))