thumbnail")}}" class="object-cover object-center h-full w-full rounded-md" width="304px" height="162px">

{{$program->title}}

@if($program->provider) By {{ $program->provider->title}} @else By LTF Recruitment @endif @if($program->subject) • {{$program->subject->title}} @endif

@livewire('dashboard.candidate.teacher-training.progress-bar', ['url_title' => $program->url_title], key(rand()))
@php $formatter = new NumberFormatter('en-US', NumberFormatter::ORDINAL); @endphp {{$formatter->format($current_lesson) }} Lesson

{{$program_lesson->title}}

{{-- Exploring the foundations of calculus, limits, derivatives, integrals, and their applications. --}}

@if($program_lesson->url_video) @elseif($program_lesson->video_file)
@endif
{!!$program_lesson->description!!}
@if($current_lesson > 1) Previous Lesson @endif {{-- Next Lesson --}} @if ($current_lesson >= count($program->lessons)) @if($candidate_training_program) @if( $candidate_training_program->finished_date && $candidate_training_program->status == 'finished' && !$candidate_training_program->rating) Leave review @elseif(!$candidate_training_program->finished_date || $candidate_training_program->status != 'finished') Finish @endif @endif @else Next Lesson @endif

LESSONS

{{-- {{dd( $this->program_lesson)}} --}}
@foreach ($program->lessons as $lesson_db)

{{$loop->iteration}}. {{$lesson_db->title}}

@if($lesson_db->url_video || $lesson_db->video_file)

Includes video

@endif
@endforeach @if($candidate_training_program && $candidate_training_program->passed_assessment)

Assessment

Passed

@elseif($program->assesment) @endif
{{-- @if($program->assesment)

Assessment

@endif--}}
@push('modals') @livewire('dashboard.candidate.teacher-training.assessment.modals.quiz-review') @endpush