Modifying gnc:html-build-acct-tree to return totals

Robert Graham Merkel rgmerk@mira.net (Robert Graham Merkel)
Fri, 30 Mar 2001 15:38:44 +1000


It turns out that it would be highly convenient for the balance sheet
report if gnc:html-build-acct-tree could return a total.  To do so, 
we could either simply get gnc:html-build-account-tree to return a
pair containing both the table and the total information.

Another possibility I've been kicking around is adding a user-data
field to the html-table data structure, which we could put the total
into and whatever needs it could easily extract data from.  We could
potentially do this with a lot of the html-foo elements, actually.

What do you guys reckon?

------------------------------------------------------------
Robert Merkel	                           rgmerk@mira.net

<telsa> I left my client on #gtk+ overnight and there was nothing 
in scrollback at all except quit/rejoins.
<bighead> telsa: well its been that for, I think 3 days now 
(ever since started coming back on IRC)
<telsa> Clearly they are busy implementing telepathy, 
and dog-fooding it. :) 
------------------------------------------------------------