@extends('layouts.app') @push('styles') @endpush @section('content') @auth @php $editingId = request()->query('edit'); @endphp

TB assessment

@if ($editingId)
Editing record #{{ $editingId }} Create new
@endif
Clear Manage
@csrf
@csrf
@csrf
@csrf
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
Please fix the following:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if ($editingId) @method('PUT') @endif
Name: {{ old('name', '-') }} | Age: {{ old('age', '-') }} | Sex: {{ old('sex') === '1' ? 'M' : (old('sex') === '2' ? 'F' : '-') }}
cm
kg

Symptoms/Risks
Please fill in ALL symptoms & risk factors

@if (old('xray_image_path')) Current image: view @endif

Management
@if ($editingId) @endif
@if ($editingId)
@csrf @method('DELETE')
@endif
@endauth @endsection @push('scripts') @endpush