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

{{ $pageTitle }}

{{trans('update.pending_review')}}

{{ $pendingReviewCount }}

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

{{ $passedCount }}

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

{{ $failedCount }}
@foreach($histories as $history) @endforeach
{{ trans('quiz.student') }} {{ trans('panel.purchase_date') }} {{ trans('update.first_submission') }} {{ trans('update.last_submission') }} {{ trans('update.attempts') }} {{ trans('quiz.grade') }} {{ trans('public.status') }} {{ trans('admin/main.action') }}
{{ $history->student->full_name }} {{ $history->student->email }}
{{ !empty($history->purchase_date) ? dateTimeFormat($history->purchase_date, 'j M Y') : '-' }} {{ !empty($history->first_submission) ? dateTimeFormat($history->first_submission, 'j M Y | H:i') : '-' }} {{ !empty($history->last_submission) ? dateTimeFormat($history->last_submission, 'j M Y | H:i') : '-' }} {{ !empty($assignment->attempts) ? "{$history->usedAttemptsCount}/{$assignment->attempts}" : '-' }} {{ (!empty($history->grade)) ? $history->grade : '-' }} @if(empty($history) or ($history->status == \App\Models\WebinarAssignmentHistory::$notSubmitted)) {{ trans('update.assignment_history_status_not_submitted') }} @else @switch($history->status) @case(\App\Models\WebinarAssignmentHistory::$passed) {{ trans('quiz.passed') }} @break @case(\App\Models\WebinarAssignmentHistory::$pending) {{ trans('public.pending') }} @break @case(\App\Models\WebinarAssignmentHistory::$notPassed) {{ trans('quiz.failed') }} @break @endswitch @endif @can('admin_webinar_assignments_conversations') @endcan
@endsection @push('scripts_bottom') @endpush