@extends('Admin.layout') @section('content') {{-- Header --}}
Details
{{-- Patient identity strip --}}
{{ strtoupper(substr($patient->patient_name, 0, 1)) }}
{{ $patient->patient_name }}
Patient ID ยท {{ $patient->sheet_no }}
{{-- Step navigation --}}
{{-- Form panel --}}
Presenting Complaints
{{-- Complaint history โ€” collapsible accordion --}}
@forelse($complaintHistory as $entry)
{{ $entry->created_at->format('d M Y') }} {{ $entry->created_at->format('h:i A') }}

{{ $entry->complaint }}

@empty
No complaint history found.
@endforelse
@csrf @error('complaint')
{{ $message }}
@enderror
{{-- Sticky bottom action bar --}}
@endsection