@php use App\Support\LeaveSupportingDocumentFeature; if (! LeaveSupportingDocumentFeature::enabled()) { return; } $inputId = 'supporting_document'.($suffix ?? ''); $removeId = 'remove_supporting_document'.($suffix ?? ''); $currentWrapId = 'supporting_document_current'.($suffix ?? ''); $docRequired = LeaveSupportingDocumentFeature::required(); @endphp

{{ __('Upload prescription, doctor advice, or other supporting document (PDF or image, max 5 MB).') }}

@if(!empty($showCurrent) && !empty($currentUrl))
{{ __('Current file') }}: {{ __('View document') }} @if(!empty($allowRemove))
@endif
@endif