Manage catalog Lab queue Add test @if (($canSwitchBranch ?? false) && isset($branches) && $branches->count() > 1)
@elseif (isset($branches) && $branches->isNotEmpty())

Branch: {{ $branches->firstWhere('id', $branchId)?->name ?? $branches->first()->name }}

@endif

Queue by status

    @foreach ([ \App\Models\InvestigationRequest::STATUS_PENDING, \App\Models\InvestigationRequest::STATUS_SAMPLE_COLLECTED, \App\Models\InvestigationRequest::STATUS_IN_PROGRESS, \App\Models\InvestigationRequest::STATUS_AWAITING_REVIEW, ] as $status)
  • {{ $statuses[$status] ?? $status }} {{ number_format($queueCounts[$status] ?? 0) }}
  • @endforeach

Catalog management

Add or edit investigation types and prices. Technicians process samples from the queue; managers own the catalog.

Current queue snapshot

@forelse ($recentQueue as $item) @empty @endforelse
Patient Test Status
{{ $item->patient?->fullName() ?? '—' }} {{ $item->investigationType?->name ?? '—' }} {{ $statuses[$item->status] ?? $item->status }} Open
No open lab work for this branch.