@extends('layouts.app') @section('title', 'Test — '.$test->name) @section('actions') Edit @endsection @section('content')
{{ $test->name }}

{{ $test->description ?? 'No description.' }}

@if($test->sampleUrl())
Normal / Sample Report
@if($test->sampleIsPdf()) Open PDF Sample @else sample report @endif @else

No sample report uploaded.

@endif
Patients Suggested This Test
@forelse($test->patientTests as $pt) @empty @endforelse
PatientSuggested DateNotes
{{ $pt->patient->name ?? '—' }} {{ $pt->suggested_date->format('d M Y') }} {{ $pt->notes ?? '—' }}
Not suggested to any patient yet.
@endsection