Content / Comments
@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
@include( 'web.default.course.learningPage.components.comments.mobile', [ 'comments' => $course->comments, 'inputName' => 'webinar_id', 'inputValue' => $course->id, ] )
{{-- @dump(get_defined_vars()['course']) --}}