[juno] accounts tree

Ibarra, Michael m.ibarra@cdcixis-na.com
Mon, 26 Aug 2002 08:59:13 -0400


What does Whups use for it groups/users admin? 

-mi

-----Original Message-----
From: Mathieu Legare [mailto:legare@uqtr.ca]
Sent: Monday, August 26, 2002 8:51 AM
To: juno@lists.horde.org
Subject: [juno] accounts tree


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

-- 
Juno mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: juno-unsubscribe@lists.horde.org