Clinical list Reports @if (($canSwitchBranch ?? false) && isset($branches) && $branches->count() > 1)
@elseif (isset($branches) && $branches->isNotEmpty())

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

@endif @if ($overview['low_stock']->isNotEmpty())
{{ $overview['low_stock']->count() }} product(s) at or below reorder level.
@endif

Operational inventory

Branch-level units on hand — separate from visit-scoped clinical inventory notes.

@csrf @if ($branchId > 0) @endif
@foreach ($overview['stock'] as $i => $row) $row->isLowStock()])> @endforeach
Product Units on hand Reorder level Notes
{{ $row->product_label }} @if ($row->isLowStock()) Low @endif

Recent visit inventory notes

Clinical notes from Blood Bank visits (not the operational register above).

    @forelse ($overview['recent_notes'] as $note)
  • {{ $note->visit?->patient?->fullName() ?? 'Visit #'.$note->visit_id }}

    {{ $note->recorded_at?->format('d M Y H:i') ?? '—' }} @if (! empty($note->payload['low_stock_alert'])) · Low stock flagged @endif

    @if ($note->visit_id) Open @endif
  • @empty
  • No recent inventory notes.
  • @endforelse