@extends('layouts.teacher') @section('title', 'Tutor onboarding · '.config('brand.name')) @section('content') @php $hasSubjects = $profile?->subjects?->isNotEmpty() ?? false; $hasClasses = $profile?->classes?->isNotEmpty() ?? false; $hasDocument = $documents->isNotEmpty(); $policiesComplete = collect(array_keys($policies))->diff($acceptedPolicies)->isEmpty(); $canSubmit = $hasSubjects && $hasClasses && $policiesComplete; $editable = $application->canBeEditedByApplicant(); $steps = [ ['label' => 'Account', 'done' => true], ['label' => 'Profile', 'done' => $hasSubjects && $hasClasses], ['label' => 'Documents', 'done' => $hasDocument], ['label' => 'Policies', 'done' => $policiesComplete], ['label' => 'Submit', 'done' => ! $editable], ['label' => 'Super Admin approval', 'done' => $canTeach], ]; $missing = []; if (! $hasSubjects) { $missing[] = 'Select at least one subject, then click Save draft.'; } if (! $hasClasses) { $missing[] = 'Select at least one class / year group, then click Save draft.'; } if (! $policiesComplete) { $missing[] = 'Tick every safeguarding and conduct policy, then click Save draft.'; } if (! $hasDocument) { $missing[] = 'Upload at least one verification document (recommended before Super Admin review).'; } @endphp
Documents Application status @if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
@foreach ($steps as $index => $step) {{ $index + 1 }}. {{ $step['label'] }} @endforeach

Application: {{ $application->status->label() }} · Account status: {{ $profile?->onboarding_status?->label() ?? 'Pending' }} · Teaching access: {{ $canTeach ? 'Active' : 'Not granted' }}

Parents pay MyEdCamp, not you. Class times are set by Super Admin after activation.

@if ($editable)
@csrf
1. Professional information

Preferred teaching days

@foreach (['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'] as $day) @endforeach
2. Qualifications and institutions
@php $existing = old('qualifications', $profile?->qualifications?->toArray() ?? []); @endphp @for ($i = 0; $i < 3; $i++)
@endfor
3. Subjects you can tutor

From the MyEdCamp academic catalogue. Do not invent subjects. Super Admin still assigns the subject you will teach.

@foreach ($subjects as $subject) @endforeach
4. Classes / year groups
@foreach ($levels as $level)

{{ $level->name }}

@foreach ($level->classes as $class) @endforeach @endforeach
5. Safeguarding & conduct
@foreach ($policies as $key => $policy) @endforeach

Your entries stay after refresh. Use Clear form only when you want to wipe this page.

6. Verification documents

Upload identity and qualification files on the documents page. Files stay private until Super Admin verifies them.

Status: @if ($hasDocument) {{ $documents->count() }} document(s) uploaded @else No documents uploaded yet @endif

Open documents
7. Submit for Super Admin review

Submitting does not activate teaching. Super Admin must still verify documents, approve the application and activate your account.

  • Subjects selected{{ $hasSubjects ? '' : ' — still needed' }}
  • Classes / year groups selected{{ $hasClasses ? '' : ' — still needed' }}
  • All policies accepted{{ $policiesComplete ? '' : ' — still needed' }}
  • Verification document uploaded{{ $hasDocument ? '' : ' — recommended' }}
@csrf
@unless ($canSubmit)

Submit is locked until these are saved:

    @foreach ($missing as $item) @if (! str_contains($item, 'recommended'))
  • {{ $item }}
  • @endif @endforeach

After you tick subjects, classes and every policy, click Save draft first — then Submit unlocks.

@else @unless ($hasDocument)

You can submit now. Upload a verification document so Super Admin can verify you faster.

@endunless @endunless
@else

This application is {{ strtolower($application->status->label()) }} and cannot be silently changed.

Check your application status for the next Super Admin step.

@endif
@endsection @section('scripts') @endsection