@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ trans('admin/main.quiz_results') }}

@can('admin_quiz_result_export_excel') @endcan
@foreach($quizzesResults as $result) @endforeach
{{ trans('admin/main.title') }} {{ trans('quiz.student') }} {{ trans('admin/main.instructor') }} {{ trans('admin/main.grade') }} {{ trans('admin/main.quiz_date') }} {{ trans('admin/main.status') }} {{ trans('admin/main.actions') }}
{{ $result->quiz->title }} ({{ $result->quiz->webinar->title }}) {{ $result->user->full_name }} {{ $result->quiz->teacher->full_name }} {{ $result->user_grade }} {{ dateTimeformat($result->created_at, 'j F Y') }} @switch($result->status) @case(\App\Models\QuizzesResult::$passed) {{ trans('quiz.passed') }} @break @case(\App\Models\QuizzesResult::$failed) {{ trans('quiz.failed') }} @break @case(\App\Models\QuizzesResult::$waiting) {{ trans('quiz.waiting') }} @break @endswitch @can('admin_quizzes_results_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/quizzes/result/'. $result->id.'/delete']) @endcan
@endsection @push('scripts_bottom') @endpush