@php $nextSession = $course->nextSession(); /*$lastSession = $course->lastSession(); $isProgressing = false; if($course->start_date <= time() and !empty($lastSession) and $lastSession->date > time()) { $isProgressing=true; }*/ @endphp
{{-- Image --}}
{{-- Badges On Image --}} @include("design_1.panel.webinars.my_courses.course_card.badges") @if($course->isWebinar())
@elseif($course->isTextCourse())
@elseif($course->isCourse())
@endif
{{-- Content --}}

{{ truncate($course->title, 46) }}

@include("design_1.web.components.rate", [ 'rate' => round($course->getRate(),1), 'rateCount' => $course->reviews()->where('status', 'active')->count(), 'rateClassName' => 'mt-8', ])
{{-- Stats --}} @include("design_1.panel.webinars.my_courses.course_card.stats") {{-- End Stats --}}
{{-- Progress & Price --}}
@include("design_1.panel.webinars.my_courses.course_card.progress_and_chart")
{{-- Price --}}
@if($course->price > 0) @if($course->bestTicket() < $course->price) {{ handlePrice($course->bestTicket(), true, true, false, null, true) }} {{ handlePrice($course->price, true, true, false, null, true) }} @else {{ handlePrice($course->price, true, true, false, null, true) }} @endif @else {{ trans('public.free') }} @endif
{{-- Actions Dropdown (positioned outside the link) --}}
@include("design_1.panel.webinars.my_courses.course_card.actions_dropdown")