RE: accounts tree
"Ibarra, Michael" <[email protected]> Mon, 26 Aug 2002 08:59:13 -0400
| Newsgroups | gmane.comp.horde.juno |
|---|---|
| Message-ID | <[email protected]> |
What does Whups use for it groups/users admin? -mi -----Original Message----- From: Mathieu Legare [mailto:[email protected]] Sent: Monday, August 26, 2002 8:51 AM To: [email protected] 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: [email protected] -- Juno mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]