Pman.Tab.Group_Members = new Pman.Tab.PersonList({
id : 'group_members',
type: 0,
- title : "Staff Membership ??",
+ title : "Staff Membership",
permName : 'Core.Staff',
hideDelete: true, // as it's confusing..
getLeftSelections : function() {
o.params['query[person_internal_only_all]'] = 1;
o.params['query[person_inactive]'] = this.showInActive ? 0 : 1;
o.params.company_id_comptype = 'OWNER';
+ o.params._with_group_membership = 1;
},
this.c_name(),
this.c_office_id_name(),
this.c_role(),
+ this.c_group_membership(),
this.c_phone(),
this.c_fax(),
this.c_email(),
},
dialog: function () {
- return Pman.Dialog.PersonStaff;
+ return Pman.Dialog.AdminPerson;
+ //return Pman.Dialog.PersonStaff;
},
bulkAdd : function() {
//return Pman.Dialog.PersonBulkAdd