Fix #5702 - Supplier contact details - extra fields
[Pman.Admin] / Pman.Tab.Group_Members.js
index 48ee2ba..61de6d3 100644 (file)
@@ -25,6 +25,7 @@ Pman.Tab.Group_Members = new  Pman.Tab.PersonList({
     id : 'group_members',
     type: 0,
     title : "Staff Membership",
+    permName : 'Core.Staff',
     hideDelete: true, // as it's confusing..
     getLeftSelections : function() {
         return Pman.Tab.Groups.grid.getSelectionModel().getSelections();
@@ -43,6 +44,7 @@ Pman.Tab.Group_Members = new  Pman.Tab.PersonList({
         o.params['query[type]'] = this.type; // group type..
         o.params['query[person_internal_only_all]'] = 1;
         o.params['query[person_inactive]'] = this.showInActive ? 0  : 1;
+        o.params.company_id_comptype = 'OWNER';
         
     },