Staff Dashboard

Welcome, {{ $user->fname ?? $user->name }}!

Customer Service Representative Dashboard

{{ now()->format('l, F j, Y') }}

{{ now()->format('g:i A') }}

Quick Actions

Manage Patients Manage Employees Manage Agents Impersonation Logs
Support Tickets Create Ticket Subscription Management Insurance Verifications

Key Metrics

Patients

{{ $totalPatients }}

Employees

{{ $totalEmployees }}

Agents

{{ $totalAgents }}

Consultations

{{ $totalConsultations }}

Pending Orders

{{ $pendingMedicationOrders }}

Active Subs

{{ $activeSubscriptions }}

Impersonation Activity

Active Sessions
{{ $impersonationStats['active_sessions'] }}
Today
{{ $impersonationStats['total_sessions_today'] }}
This Week
{{ $impersonationStats['total_sessions_this_week'] }}
This Month
{{ $impersonationStats['total_sessions_this_month'] }}

User Management

@if($item->roles->isNotEmpty()) {{ $item->roles->first()->name }} @endif {{ ucfirst($item->status) }}
View @if($item->hasAnyRole(['patient', 'employee', 'agent'])) Edit @endif

Recent Consultations

@forelse($recentConsultations as $consultation)

{{ $consultation->patient->name }}

Dr. {{ $consultation->doctor->name ?? 'Unassigned' }}

{{ ucfirst($consultation->status) }}

{{ $consultation->created_at->diffForHumans() }}

@empty

No recent consultations

@endforelse

Recent Impersonations

@forelse($recentImpersonations as $impersonation)

{{ $impersonation->impersonator->name }}

→ {{ $impersonation->impersonatedUser->name }}

{{ ucfirst($impersonation->status) }}

{{ $impersonation->started_at->diffForHumans() }}

@empty

No recent impersonations

@endforelse