{{-- Overview — read-only. What an admin opens a person to find out. --}} @php $gaps = []; if ($user->isWorkspaceSourced() && ! $user->usesWorkspace()) $gaps[] = 'Workspace add-on is off for this company — no task feed'; if (! $user->shift_start || ! $user->shift_end) $gaps[] = 'No shift window — the Timesheet cannot measure them against a day'; if (! $user->tracksTimesheet()) $gaps[] = 'Excluded from the Timesheet and its Teams digest'; if ($devices->isEmpty()) $gaps[] = 'No desktop install has ever reported in'; if ($user->isWorkspaceSourced() && $memberOf->isEmpty()) $gaps[] = 'In no team, so no lead sees them in the portal'; if (! $user->isSuperAdmin() && ! $user->primaryRole()) $gaps[] = 'No role, so no web access'; if ($user->canAccess(\App\Support\Permissions::VIEW_TEAM) && ! $user->canAccess(\App\Support\Permissions::VIEW_ALL) && $leads->isEmpty()) $gaps[] = 'Their role shows their own teams, but they lead none — they see only themselves'; @endphp