@push('title', __('Staff'))
{{-- Toolbar --}}

{{ __('Teams') }}

{{-- Teams --}}
@forelse ($employees as $employee) @php /** @var \Illuminate\Support\Collection $users */ $users = $employee->users ?? collect(); $memberCount = $users->count(); $searchText = trim(($employee->rank_name ?? '') . ' ' . ($employee->job_description ?? '')); @endphp
{{-- Header --}}
{{ $employee->rank_name }} {{ $employee?->job_description }}
{{-- Member count chip --}} {{ $memberCount }} {{ \Illuminate\Support\Str::plural(__('member'), $memberCount) }}
{{-- Members grid --}}
@forelse ($users as $staff) @empty
{{ __('We currently have no staff in this team') }}
@endforelse
@empty {{ __('No teams found') }} {{ __('Please check back later.') }}

{{ __('There are no teams to display right now.') }}

@endforelse