{{-- Summary Stat Cards --}}
Total Staff
{{ number_format($this->totalStaff) }}
Active Staff
{{ number_format($this->activeStaff) }}
@if($this->totalStaff > 0) {{ round(($this->activeStaff / $this->totalStaff) * 100, 1) }}% of total @endif
Inactive Staff
{{ number_format($this->inactiveStaff) }}
@if($this->totalStaff > 0) {{ round(($this->inactiveStaff / $this->totalStaff) * 100, 1) }}% of total @endif
New This Month
{{ number_format($this->newThisMonth) }}
Since {{ now()->startOfMonth()->format('M 1, Y') }}
{{-- Filters --}}
@foreach($perPageOptions as $option) @endforeach
{{-- Staff Table --}} First Name Last Name Email Username Start Date @if(! $activeOnly) Term Date @endif Status @forelse($staffMembers as $staff) {{ $staff->first_name }} {{ $staff->last_name }} {{ $staff->email }} {{ $staff->username }} {{ optional($staff->start_date)->format('M j, Y') }} @if(! $activeOnly) {{ $staff->term_date ? $staff->term_date->format('M j, Y') : "\u{2014}" }} @endif {{ $staff->term_date ? 'Inactive' : 'Active' }} @empty No staff members match your filters. @endforelse