Clinic Leader Dr.
Clinic's dashboard
@php
$mode = $viewMode ?? 'none';
$isPeriod = in_array($mode, ['monthly', 'quarterly', 'yearly']);
$heroCards = $mode === 'daily' ? $dailyChecks : ($isPeriod ? $monthlyChecks : []);
$hasData = ($mode === 'daily' && !empty($dailyChecks)) || ($isPeriod && !empty($monthlyChecks));
$heroValue = $hasData ? ($heroCards[0]['value'] ?? 0) : null;
$clinicLabel = $clinicConnection ?? 'Clinic';
$periodLabel = $hasData
? ($mode === 'daily'
? ($dailyDurationSummary['dateLabel'] ?? '')
: ($selectedMonthLabel ?? $selectedQuarter ?? ''))
: 'Select a view to load data';
$modeLabel = $hasData ? ucfirst($mode) : '';
@endphp
Pulse across reception, labs, and follow-ups tailored for {{ $clinicLeader }}.
Daily check
Monthly report
Mobile friendly
Live spotlight
{{ $heroValue !== null ? $heroValue : '—' }}
@if($hasData)
patients • {{ $modeLabel }} • {{ $clinicLabel }} • {{ $periodLabel }}
@else
Choose Daily, Monthly, Quarterly, or Yearly and apply filters to load data.
@endif