@props(['users', 'checklist']) @php $totalUsers = isset($users) ? count($users) : 0; $remainingUsers = collect(); @endphp
{{ __('title.assignee') }} @if ($totalUsers > 0) ({{ $totalUsers }} {{ Str::plural('assignee', $totalUsers) }}) @endif
{{-- Visible Users --}}
@if (isset($users) && !empty($users))
@include('checklist::components.assignee', ['users' => $users])
@endif {{-- Remaining Users --}} @if ($remainingUsers->isNotEmpty())
@endif