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

{{$program->title}}

@if($program->type_training == "external") By {{ $program->provider_name}} @else By Long Term Futures @endif @if($program->subject) • {{$program->subject->title}} @endif

@if($program->type_training == "custom") @livewire('dashboard.candidate.teacher-training.progress-bar', ['url_title' => $program->url_title], key(rand())) @endif
@if($program->type_training == "custom")
@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
@else

About this Program

{!!$program->description!!}

View program @if($candidate_training_program->status != 'finished') @endif
@endif
@if($program->lessons && count($program->lessons) > 0)

LESSONS

@endif {{-- {{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