{{ $editing ? __('app.admissions.edit_title') : __('app.admissions.create_title') }}

{{ $editing ? $application?->application_no : __('app.admissions.create_desc') }}

{{ __('app.actions.back') }}
@if ($notice) {{ $notice }} @endif @if ($errors->has('status')) {{ $errors->first('status') }} @endif @if ($errors->has('guardians')) {{ $errors->first('guardians') }} @endif
@foreach ($years as $yearOption) @endforeach @foreach ($divisions as $divisionOption) @endforeach @foreach ($classes as $classOption) @endforeach @foreach ($sections as $sectionOption) @endforeach
@foreach ($genders as $genderOption) @endforeach @foreach (config('students.blood_groups') as $group) @endforeach
@if ($photo && $photo->isPreviewable()) {{ __('app.admissions.photo_preview') }} @elseif ($hasPhotoFile) {{ __('app.admissions.photo_preview') }} @else
@endif

{{ __('app.admissions.photo_hint', ['max' => config('students.photo.max_kb')]) }}

@error('photo')

{{ $message }}

@enderror
{{ __('app.admissions.uploading') }}
@if ($hasPhotoFile && ! $photo) @endif
@foreach ($guardians as $index => $guardian)

{{ __('app.admissions.guardian') }} #{{ $index + 1 }}

{{ __('app.actions.remove') }}
@foreach ($relations as $relationOption) @endforeach
@endforeach
{{ __('app.admissions.add_guardian') }}
@if ($application?->documents->isNotEmpty())
    @foreach ($application->documents as $document)
  • {{ $document->title ?: $document->original_name }}

    {{ $document->type->label() }} · {{ $document->humanSize() }}

    {{ __('app.actions.download') }} {{ __('app.actions.delete') }}
  • @endforeach
@endif

{{ __('app.admissions.document_hint', ['max' => config('students.document.max_kb')]) }}

@error('documentUploads.*')

{{ $message }}

@enderror
@foreach ($documentTypes as $type) @endforeach
{{ __('app.admissions.uploading') }}
{{ __('app.actions.cancel') }} {{ $editing ? __('app.actions.save_changes') : __('app.admissions.submit_application') }}