{{-- Search + View Toggle + Per Page --}}
{{-- Table --}}
@if ($view === 'basic') @php $headers = [ 'clinician_code' => 'Code', 'sp_name' => 'SP Name', ]; @endphp @foreach ($headers as $field => $label) @endforeach @else @php $headers = [ 'clinician_code' => 'Code', ]; @endphp @foreach ($headers as $field => $label) @endforeach @endif @forelse ($clinicians as $clinician) @if ($view === 'basic') @else @endif @empty @endforelse
{{ $label }} @if ($sortField === $field) @if ($sortDirection === 'asc') @else @endif @endif Full Name Email Phone Space Use Clients Avg/Mo Last 31d Actions
{{ $label }} @if ($sortField === $field) @if ($sortDirection === 'asc') @else @endif @endif Full Name LLC/Business License W-9 Supervisor SP Name Hide Profile Hide Roster ICA Signed Start Date Actions
{{ $clinician->clinician_code }} {{ $clinician->sp_name ?? '—' }} {{ $clinician->user?->full_name ?? '—' }} {{ $clinician->user?->email ?? '—' }} {{ $clinician->user?->phone ?? '—' }} {{ $clinician->space_use?->label() ?? '—' }} {{ $totalClients[$clinician->id] ?? 0 }} @if (isset($avgSessions[$clinician->id])) {{ $avgSessions[$clinician->id] }} @else N/A @endif {{ $recentSessions[$clinician->id] ?? 0 }}
@csrf
{{ $clinician->clinician_code }} {{ $clinician->user?->full_name ?? '—' }} {{ $clinician->llc_business_name ?? '—' }} {{ $clinician->license_status?->label() ?? '—' }} @if ($clinician->w9_submitted) @else @endif {{ $clinician->supervisor_name ?? '—' }} {{ $clinician->sp_name ?? '—' }} {{ $clinician->ica_signed_date?->format('M j, Y') ?? '—' }} {{ $clinician->start_date_of_services?->format('M j, Y') ?? '—' }}
No clinicians found.
@if ($clinicians->hasPages())

Showing {{ $clinicians->firstItem() }}–{{ $clinicians->lastItem() }} of {{ $clinicians->total() }}

{{ $clinicians->links() }}
@else

Showing {{ $clinicians->total() }} clinicians

@endif