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

{{ trans('quiz.results_statistics') }}

{{ $quizzesResultsCount }} {{ trans('quiz.quizzes') }}
{{ $passedCount }} {{ trans('quiz.passed') }}
{{ $failedCount }} {{ trans('quiz.failed') }}
{{ $waitingCount }} {{ trans('quiz.open_results') }}

{{ trans('quiz.filter_results') }}

{{ trans('quiz.my_quizzes') }}

get('open_results','') == 'on') checked @endif class="custom-control-input" id="onlyOpenQuizzesSwitch">
@if($quizzesResults->count() > 0)
@foreach($quizzesResults as $result) @endforeach
{{ trans('public.instructor') }} {{ trans('quiz.quiz') }} {{ trans('quiz.quiz_grade') }} {{ trans('quiz.my_grade') }} {{ trans('public.status') }} {{ trans('public.date') }}
{{ $result->quiz->creator->full_name }} {{ $result->quiz->creator->email }}
{{ $result->quiz->title }} {{ $result->quiz->webinar->title }} {{ $result->quiz->quizQuestions->sum('grade') }} {{ $result->user_grade }} {{ trans('quiz.'.$result->status) }} @if($result->status =='failed' and $result->can_try) {{ trans('quiz.quiz_chance_remained',['count' => $result->count_can_try]) }} @endif {{ dateTimeFormat($result->created_at,'j M Y H:i')}}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'result.png', 'title' => trans('quiz.quiz_result_no_result'), 'hint' => trans('quiz.quiz_result_no_result_hint'), ]) @endif
{{ $quizzesResults->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush