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

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

{{ $certificatesCount }} {{ trans('panel.certificates') }}
{{ $avgGrades }} {{ trans('quiz.average_grade') }}
{{ $failedQuizzes }} {{ trans('quiz.failed_quizzes') }}

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

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

@if(!empty($quizzes) and count($quizzes))
@foreach($quizzes as $quiz) @endforeach
{{ trans('public.certificate') }} {{ trans('public.certificate_id') }} {{ trans('quiz.minimum_grade') }} {{ trans('quiz.average_grade') }} {{ trans('quiz.my_grade') }} {{ trans('public.date') }}
{{ $quiz->title }} {{ $quiz->webinar->title }} @if($quiz->can_download_certificate) @php $getUserCertificate = $quiz->getUserCertificate($authUser,$quiz->result); @endphp @if(!empty($getUserCertificate)) {{ $getUserCertificate->id }} @endif @else - @endif {{ $quiz->pass_mark }} {{ $quiz->total_mark }} {{ $quiz->result->user_grade }} {{ dateTimeFormat($quiz->result->created_at, 'j M Y') }} @if($quiz->can_download_certificate) @endif
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'cert.png', 'title' => trans('quiz.my_certificates_no_result'), 'hint' => nl2br(trans('quiz.my_certificates_no_result_hint')), ]) @endif
{{ $quizzes->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush