@extends('layouts.teacher') @section('title', 'Tutor application status ยท '.config('brand.name')) @section('content') @php $statusLabel = $application?->status?->label() ?? $profile?->onboarding_status?->label() ?? 'Not started'; $timeline = [ ['title' => 'Account created', 'done' => true], ['title' => 'Application submitted', 'done' => filled($application?->submitted_at) || in_array($application?->status?->value, ['submitted', 'under_review', 'additional_information_required', 'verification', 'approved', 'rejected'], true)], ['title' => 'Documents in verification', 'done' => in_array($application?->status?->value, ['verification', 'approved'], true) || $canTeach], ['title' => 'Super Admin approved', 'done' => $application?->status?->value === 'approved' || $canTeach], ['title' => 'Activated to teach', 'done' => $canTeach], ]; @endphp
Application Documents @if (session('status'))
{{ session('status') }}
@endif

{{ $statusLabel }}

{{ $message }}

@if ($application?->status === \App\Enums\TeacherApplicationStatus::AdditionalInformationRequired && $application->additional_information_requested)

Please provide: {{ $application->additional_information_requested }}

@endif @if ($application?->status === \App\Enums\TeacherApplicationStatus::Rejected)

Internal review notes are not shown here. Contact MyEdCamp if you need guidance on a future application.

@endif @if ($canTeach)

Open My Lessons to see the subject Super Admin has assigned to you.

@else

Teaching access stays closed until Super Admin completes verification, approval and activation.

@endif
Approval path
    @foreach ($timeline as $item)
  1. @if ($item['done']) {{ $item['title'] }} @else {{ $item['title'] }} @endif
  2. @endforeach
@endsection