Course Content
@if (!empty($course->chapters) and count($course->chapters)) @include('web.default.course.learningPage.components.content_tab.chapter') @endif @if (!empty($sessionsWithoutChapter) and count($sessionsWithoutChapter)) @foreach ($sessionsWithoutChapter as $session) @include('web.default.course.learningPage.components.content_tab.content', [ 'item' => $session, 'type' => \App\Models\WebinarChapter::$chapterSession, ]) @endforeach @endif @if (!empty($textLessonsWithoutChapter) and count($textLessonsWithoutChapter)) @foreach ($textLessonsWithoutChapter as $textLesson) @include('web.default.course.learningPage.components.content_tab.content', [ 'item' => $textLesson, 'type' => \App\Models\WebinarChapter::$chapterTextLesson, ]) @endforeach @endif @if (!empty($filesWithoutChapter) and count($filesWithoutChapter)) @foreach ($filesWithoutChapter as $file) @include('web.default.course.learningPage.components.content_tab.content', [ 'item' => $file, 'type' => \App\Models\WebinarChapter::$chapterFile, ]) @endforeach @endif