@foreach ($modulesData->customPermissions as $permission) @php $permissionType = $employee->permissionTypeId($permission->name); $allowedPermissions = json_decode($permission->allowed_permissions); @endphp @endforeach
@lang('permissions.'.$permission->name)