{{ trans('quiz.student') }} | {{ trans('panel.purchase_date') }} | {{ trans('update.first_submission') }} | {{ trans('update.last_submission') }} | {{ trans('update.attempts') }} | {{ trans('quiz.grade') }} | {{ trans('public.status') }} | |
---|---|---|---|---|---|---|---|
{{ $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 |
|