getModel()->mapCollections($data); $data['naicsCodes'] = $this->getModel()->getLicenseNaics($data['id']); $data['tribes'] = $this->getModel()->getLicenseTribes($data['id'], true); $data['vendor'] = $this->getVendorModel()->get($data['vendorId']); if (AclPermission::isTribalAccount()) { $data['tribeStatus'] = $this->getModel()->getLicenseTribeStatus($data['id'], AclPermission::getAdminTribeId()); $data['tribeStatusTitle'] = $this->getModel()->getLicenseStatusTitle4Tribe($data['tribeStatus']); } return $this; } }