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

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

{{ $activeQuizzes }} {{ trans('quiz.active_certificates') }}
{{ $achievementsCount }} {{ trans('quiz.student_achievements') }}
{{ $failedResults }} {{ trans('quiz.failed_students') }}
{{ $avgGrade }} {{ trans('quiz.average_grade') }}

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

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

@if(!empty($quizzes) and count($quizzes))
@foreach($quizzes as $quiz) @endforeach
{{ trans('quiz.quiz') }} {{ trans('quiz.grade') }} {{ trans('quiz.average') }} {{ trans('quiz.generated_certificates') }} {{ trans('public.date') }}
{{ $quiz->title }} {{ !empty($quiz->webinar) ? $quiz->webinar->title : trans('update.delete_item') }} {{ $quiz->pass_mark }} {{ round($quiz->avg_grade, 2) }} {{ count($quiz->certificates) }} {{ dateTimeFormat($quiz->created_at, 'j M Y') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'certificate.png', 'title' => trans('quiz.certificates_no_result'), 'hint' => nl2br(trans('quiz.certificates_no_result_hint')), ]) @endif
{{ $quizzes->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush