[TR] move options-summary to appear above subtotal-table

It seems more fitting that the order of items is:
- title
- options summary
- subtotal table
- main table
This commit is contained in:
Christopher Lam
2018-06-18 14:46:45 +08:00
parent ae4b0bd871
commit 010dd04e82

View File

@@ -2041,6 +2041,11 @@ be excluded from periodic reporting.")
(qof-print-date begindate)
(qof-print-date enddate)))))
(if (eq? infobox-display 'always)
(gnc:html-document-add-object!
document
(gnc:html-render-options-changed options)))
(if (and (opt-val gnc:pagename-display optname-grid)
(if (memq primary-key DATE-SORTING-TYPES)
(keylist-get-info date-subtotal-list primary-date-subtotal 'renderer-fn)
@@ -2055,11 +2060,6 @@ be excluded from periodic reporting.")
(gnc:html-document-add-object!
document (grid->html-table grid list-of-rows list-of-cols))))
(if (eq? infobox-display 'always)
(gnc:html-document-add-object!
document
(gnc:html-render-options-changed options)))
(gnc:html-document-add-object! document table)))))
(gnc:report-finished)