@php $operationalCards = [ [ 'label' => 'Waiting now', 'value' => number_format($operational['waiting']), 'href' => route('qms.queues.index'), 'icon' => '', ], [ 'label' => 'Being served', 'value' => number_format($operational['serving']), 'href' => route('qms.queues.index'), 'icon' => '', ], [ 'label' => 'Served today', 'value' => number_format($operational['served_today']), 'href' => route('qms.queues.index'), 'icon' => '', 'valueClass' => 'text-emerald-700', ], [ 'label' => 'Avg wait', 'value' => $operational['avg_wait_seconds'] > 0 ? ceil($operational['avg_wait_seconds'] / 60).' mins' : '—', 'href' => route('qms.queues.index'), 'icon' => '', ], [ 'label' => 'No-shows today', 'value' => number_format($operational['no_shows_today']), 'href' => route('qms.queues.index'), 'icon' => '', ], ]; $organizationCards = [ [ 'label' => 'Active branches', 'value' => number_format($orgStats['branches']), 'href' => route('qms.queues.index'), 'icon' => '', ], [ 'label' => 'Service queues', 'value' => number_format($orgStats['queues']), 'href' => route('qms.queues.index'), 'icon' => '', ], [ 'label' => 'Team members', 'value' => number_format($orgStats['team_members']), 'href' => route('qms.queues.index'), 'icon' => '', ], ]; @endphp

{{ $organization->name }}

Real-time queue operations overview

@if(auth()->user() && app(\App\Services\Qms\QmsPermissions::class)->can(app(\App\Services\Qms\OrganizationResolver::class)->memberFor(auth()->user()), 'queues.manage')) New queue @endif
@if (empty($hasPaidPlan))

Unlock Queue Pro or Enterprise

Unlimited branches, advanced routing, Care & Frontdesk integrations — from GHS 99/mo.

View plans
@endif

Live operations

@foreach ($operationalCards as $card)

{{ $card['label'] }}

{!! $card['icon'] !!}

{{ $card['value'] }}

@endforeach

Organization

@foreach ($organizationCards as $card)

{{ $card['label'] }}

{!! $card['icon'] !!}

{{ $card['value'] }}

@endforeach
@if ($branches->isNotEmpty())

Branches

@foreach ($branches as $branch) @endforeach
Branch Queues Status
{{ $branch->name }} {{ $branch->service_queues_count }} {{ $branch->is_active ? 'Active' : 'Inactive' }}
@endif