{{-- Application Summary --}}

Application Reference

{{ $application->reference_number }}

{{ $application->course_applied }} • {{ $application->academic_year }}

@if(session('success'))
{{ session('success') }}
@endif {{-- Upload Form --}} @if(!in_array($application->status->value, ['approved', 'rejected']))

Upload Required Documents

@if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif @foreach($allTypes as $type)
@if(in_array($type->value, $uploadedTypes))

Already Uploaded

@else
Processing file, please wait...
@error('files.'.$type->value)

{{ $message }}

@enderror @endif
@if(!in_array($type->value, $uploadedTypes)) @endif
@endforeach
@endif {{-- Uploaded Documents --}} @if($documents->count() > 0)

Uploaded Documents ({{ $documents->count() }})

@foreach($documents as $document)

{{ $document->document_type->label() }}

{{ $document->original_filename }} • {{ $document->formatted_size }}

Download @if(!in_array($application->status->value, ['approved', 'rejected'])) @endif
@endforeach
@endif ← Back to Application