@foreach ($labels as $label)
@php
$symbol = \App\Support\Barcode::bars($label['barcode'], 56, 8);
@endphp
{{ $patient?->full_name ?? '—' }}
{{ $patient?->medical_record_number ?? '—' }}
{{ $order->order_no }}
{{ lookup_label('specimen_type', $label['type'], $label['type']) }}
@if ($label['container'])
Tube: {{ $label['container'] }}
@endif
@foreach ($label['tests']->take(6) as $test)
- {{ $test }}
@endforeach
@if ($label['tests']->count() > 6)
- + {{ $label['tests']->count() - 6 }} more on this tube
@endif
@foreach ($symbol['bars'] as $bar)
@endforeach
{{ $label['barcode'] }}
@if ($label['tests']->count() > 6)
Full test list on the request slip.
@endif