@php $checkSequenceContent = $quiz->checkSequenceContent(); $sequenceContentHasError = (!empty($checkSequenceContent) and (!empty($checkSequenceContent['all_passed_items_error']) or !empty($checkSequenceContent['access_after_day_error']))); @endphp
{{ $quiz->quizQuestions->count() }} {{ trans('public.questions') }}
{{ $quiz->time }} {{ trans('public.min') }}
{{ trans('update.passed_grade') }}: {{ $quiz->pass_mark }}/{{ $quiz->quizQuestions->sum('grade') }}
{{ trans('update.attempts') }}: {{ (!empty($user) and !empty($quiz->result_count)) ? $quiz->result_count : '0' }}/{{ $quiz->attempt }}
@if(!empty($user) and !empty($quiz->result_status))
@if($quiz->result_status == 'passed') {{ trans('quiz.passed') }} @elseif($quiz->result_status == 'failed') {{ trans('quiz.failed') }} @elseif($quiz->result_status == 'waiting') {{ trans('quiz.waiting') }} @endif
@endif
@if(!empty($user) and $quiz->can_try and $hasBought) {{ trans('quiz.quiz_start') }} @else @endif