@php $visit = $visit ?? null; $withFees = $withFees ?? false; @endphp
@if($withFees) {{-- ---- Visit fee (repeat visit) ---- --}}
@error('patient_fee')
{{ $message }}
@enderror
@error('received_fee')
{{ $message }}
@enderror
@endif
Allowed: PDF, JPG, JPEG, PNG, WEBP (max 8 MB). @if($visit && $visit->prescriptionUrl()) Current: view slip — uploading a new file replaces it. @endif
@if($withFees) @endif