@foreach ($modulesData->customPermissions as $permission) @php $permissionType = $role->permissionType($permission->id); if (!($permissionType)) { $permissionType = 5; } $allowedPermissions = json_decode($permission->allowed_permissions); @endphp @endforeach
@lang('permissions.'.$permission->name)