[juno] accounts tree
Mathieu Legare
legare@uqtr.ca
Mon, 26 Aug 2002 08:50:55 -0400
Hi,
Is there some classes in the Horde API, I could use to build and
display an account tree in a way similar of gnucash. See screeshot :
http://www.gnucash.org/images/gnome-1.6/account-tree.gif
I would use the field 'account_parent' of the juno_accounts table
which will point to the parent account_id of the current account...
I thought of fetching all the child's account_id of an account
in a 'child' array of the accounts hash. And then, when having
to return the total of an account, i could easly call a function
to sum the total of each child...
Thanks and have a nice day,
--
leg