@extends('layouts.app') @section('title', 'Lab Catalogue') @section('content')

Lab Catalogue

Price reference for laboratory tests · Read-only

{{-- Search + filter bar --}}
@if($q !== '' || $category !== '') Reset @endif

Showing {{ number_format($tests->total()) }} {{ $tests->total() === 1 ? 'test' : 'tests' }} @if($q !== '') matching "{{ $q }}" @endif @if($category !== '') in {{ $category }} @endif

@forelse($tests as $t) @empty @endforelse
Test Code Category Sample TAT Price (KES) Outsourced
{{ $t->name }} {{ $t->code ?: '—' }} {{ $t->category ?: '—' }} {{ $t->sample_type ?: '—' }} {{ $t->turnaround_hours ? $t->turnaround_hours . ' hr' . ($t->turnaround_hours == 1 ? '' : 's') : '—' }} {{ number_format($t->price, 2) }} @if($t->is_outsourced) Outsourced{{ $t->outsource_lab ? ' · ' . $t->outsource_lab : '' }} @else In-house @endif
No tests match the current filters.
@if($tests->hasPages())
{{ $tests->links() }}
@endif @endsection