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

{{ $webinar->title }}

{{ $studentsCount }} {{ trans('public.students') }}
{{ $commentsCount }} {{ trans('panel.comments') }}
{{ $salesCount }} {{ trans('panel.sales') }}
{{ (!empty($salesAmount) and $salesAmount > 0) ? handlePrice($salesAmount) : 0 }} {{ trans('panel.sales_amount') }}
{{ $chaptersCount }} {{ trans('public.chapters') }}
{{ $sessionsCount }} {{ trans('public.sessions') }}
{{ $pendingQuizzesCount }} {{ trans('update.pending_quizzes') }}
{{ $pendingAssignmentsCount }} {{ trans('update.pending_assignments') }}
{{ $courseRate }} @include('web.default.includes.webinar.rate',['rate' => $courseRate, 'className' => 'mt-5', 'dontShowRate' => true, 'showRateStars' => true])
{{ trans('update.total_rates') }} {{ $courseRateCount }}
{{ $webinar->quizzes->count() }} {{ trans('quiz.quizzes') }}
{{ trans('quiz.average_grade') }} {{ $quizzesAverageGrade }}
{{ $webinar->assignments->count() }} {{ trans('update.assignments') }}
{{ trans('quiz.average_grade') }} {{ $assignmentsAverageGrade }}
{{ $courseForumsMessagesCount }} {{ trans('update.forum_messages') }}
{{ trans('update.forum_students') }} {{ $courseForumsStudentsCount }}
@include('web.default.panel.webinar.course_statistics.includes.pie_charts',[ 'cardTitle' => trans('update.students_user_roles'), 'cardId' => 'studentsUserRolesChart', 'cardPrimaryLabel' => trans('public.students'), 'cardSecondaryLabel' => trans('public.instructors'), 'cardWarningLabel' => trans('home.organizations'), ]) @include('web.default.panel.webinar.course_statistics.includes.pie_charts',[ 'cardTitle' => trans('update.course_progress'), 'cardId' => 'courseProgressChart', 'cardPrimaryLabel' => trans('update.completed'), 'cardSecondaryLabel' => trans('webinars.in_progress'), 'cardWarningLabel' => trans('update.not_started'), ]) @include('web.default.panel.webinar.course_statistics.includes.pie_charts',[ 'cardTitle' => trans('quiz.quiz_status'), 'cardId' => 'quizStatusChart', 'cardPrimaryLabel' => trans('quiz.passed'), 'cardSecondaryLabel' => trans('public.pending'), 'cardWarningLabel' => trans('quiz.failed'), ]) @include('web.default.panel.webinar.course_statistics.includes.pie_charts',[ 'cardTitle' => trans('update.assignments_status'), 'cardId' => 'assignmentsStatusChart', 'cardPrimaryLabel' => trans('quiz.passed'), 'cardSecondaryLabel' => trans('public.pending'), 'cardWarningLabel' => trans('quiz.failed'), ])

{{ trans('panel.monthly_sales') }}

{{ dateTimeFormat(time(),'M Y') }}

{{ trans('update.course_progress') }} (%)

{{ trans('panel.students_list') }}

@if(!empty($students) and !$students->isEmpty())
@php $usersLists = new \Illuminate\Support\Collection($students->items()); $usersLists = $usersLists->merge($unregisteredUsers); @endphp @foreach($usersLists as $user) @endforeach
{{ trans('quiz.student') }} {{ trans('update.progress') }} {{ trans('update.passed_quizzes') }} {{ trans('update.unsent_assignments') }} {{ trans('update.pending_assignments') }} {{ trans('panel.purchase_date') }}
{{ $user->full_name }} {{ $user->email }}
{{ $user->course_progress ?? 0 }}% {{ $user->passed_quizzes ?? 0 }} {{ $user->unsent_assignments ?? 0 }} {{ $user->pending_assignments ?? 0 }} @if(empty($user->id)) {{ trans('update.unregistered') }} @else {{ dateTimeFormat($user->created_at,'j M Y | H:i') }} @endif
{{ $students->appends(request()->input())->links('vendor.pagination.panel') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'studentt.png', 'title' => trans('update.course_statistic_students_no_result'), 'hint' => nl2br(trans('update.course_statistic_students_no_result_hint')), ]) @endif
@endsection @push('scripts_bottom') @endpush