r20648 - gnucash/trunk/src/report/business-reports - Bug #650241: Fix style for aging table in owner reports that has changed (after defining doctype)

Christian Stimming cstim at code.gnucash.org
Sun May 15 15:28:16 EDT 2011


Author: cstim
Date: 2011-05-15 15:28:16 -0400 (Sun, 15 May 2011)
New Revision: 20648
Trac: http://svn.gnucash.org/trac/changeset/20648

Modified:
   gnucash/trunk/src/report/business-reports/owner-report.scm
Log:
Bug #650241: Fix style for aging table in owner reports that has changed (after defining doctype)

Patch by Bert:

Prevent inheriting the parent tablestyle for aging table in owner-report

Bug #650139 & its patch in r20639
have some side-effects:
positive is that borders are shown for empty cell (#642222).

However, the aging table in the owner report now inherits the style from its
parent table, which means that all cells of the aging table are showing as
"centered-label-cell". This means:
*In the regular stylesheet: all text in the cells is bold
*In technicolor stylesheet: all cells have a yellow background

This patch removes the "centered-label-cell" class from the parent table cell
and shows the layout of the aging table to how it was before.

Modified: gnucash/trunk/src/report/business-reports/owner-report.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/owner-report.scm	2011-05-15 19:28:04 UTC (rev 20647)
+++ gnucash/trunk/src/report/business-reports/owner-report.scm	2011-05-15 19:28:16 UTC (rev 20648)
@@ -445,9 +445,8 @@
       (gnc:html-table-append-row/markup!
        table
        "grand-total"
-       (list (gnc:make-html-table-cell/size/markup
+       (list (gnc:make-html-table-cell/size
 	      1 columns-used-size
-	      "centered-label-cell"
 	      (make-aging-table options query interval-vec reverse? date-type)))))
 
     table))



More information about the gnucash-changes mailing list