@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('update.following_courses') }}

@if(!empty($upcomingCourses) and $upcomingCourses->isNotEmpty()) @foreach($upcomingCourses as $upcomingCourse)
{{--@if(!empty($upcomingCourse->webinar_id)) {{ trans('update.released') }} @elseif($upcomingCourse->status == \App\Models\UpcomingCourse::$active) {{ trans('public.published') }} @endif--}} @if(!empty($upcomingCourse->course_progress))
@endif
{{ trans('public.item_id') }}: {{ $upcomingCourse->id }}
{{ trans('public.category') }}: {{ !empty($upcomingCourse->category_id) ? $upcomingCourse->category->title : '' }}
@if(!empty($upcomingCourse->duration))
{{ trans('webinars.next_session_duration') }}: {{ convertMinutesToHourAndMinute($upcomingCourse->duration) }} Hrs
@endif @if(!empty($upcomingCourse->publish_date))
{{ trans('update.estimated_publish_date') }}: {{ dateTimeFormat($upcomingCourse->publish_date, 'j M Y H:i') }}
@endif
{{ trans('public.price') }}: {{ (!empty($upcomingCourse->price) and $upcomingCourse->price > 0) ? handlePrice($upcomingCourse->price) : trans('free') }}
@endforeach
{{ $upcomingCourses->appends(request()->input())->links('vendor.pagination.panel') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'student.png', 'title' => trans('update.no_result_following_course'), 'hint' => trans('update.no_result_following_course_hint') , ]) @endif
@endsection