Index: openacs-4/packages/contacts/www/contact.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.adp,v
diff -u -r1.28 -r1.29
--- openacs-4/packages/contacts/www/contact.adp 24 Aug 2005 10:50:07 -0000 1.28
+++ openacs-4/packages/contacts/www/contact.adp 4 Oct 2005 21:53:25 -0000 1.29
@@ -48,6 +48,17 @@
+
#contacts.Last_updated# @update_date@
@@ -56,3 +67,4 @@ + Index: openacs-4/packages/contacts/www/contact.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/contacts/www/contact.tcl 21 Jul 2005 20:19:14 -0000 1.21 +++ openacs-4/packages/contacts/www/contact.tcl 4 Oct 2005 21:53:25 -0000 1.22 @@ -80,5 +80,29 @@ set invoices_enabled_p 0 } +# We are going to get a list of all members of the group Freelancer +# that have worked in a project for customer_id (party_id in this case). +# So first we get all projects were the party_id is customer +set project_list [db_list get_projects { select item_id from pm_projectsx where customer_id = :party_id }] + +# Now we search for all the members of the Freelancer +# group that are assigned to one of this projects. + +# Get the group members list +set group_id [group::get_id -group_name "Freelancer"] +set group_members_list [group::get_members -group_id $group_id] + +# Now we create the select menu to use +set select_menu "" + + + + + ad_return_template Index: openacs-4/packages/contacts/www/contact.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/contacts/www/contact.xql 4 Oct 2005 21:53:25 -0000 1.1 @@ -0,0 +1,17 @@ + +