@php $item = $document ?? null; @endphp
@if($item) @else @error('visa_application_id') {{ $message }} @enderror @endif
@php $selectedType = old('document_type', $item?->document_type); @endphp @error('document_type') {{ $message }} @enderror
{{-- Same styled picker the rest of the admin uses; a raw file input here was the only one left that showed the browser's own "Choose File / No file chosen" control. --}} {{-- The stored file lives on the private disk (no public URL), so the "current file" preview links through the authorised download route instead of a direct asset() path. --}} {{ ___('admin.pdf_jpg_or_png_maximum_5_mb_2d8327') }} @error('document') {{ $message }} @enderror
@error('status') {{ $message }} @enderror
{{ ___('admin.cancel_77dfd2') }}