{{ $assignment->title }}
{{ $assignment->webinar->title }}
|
{{ !empty($assignment->deadline) ? dateTimeFormat($assignment->deadlineTime, 'j M Y') : '-' }}
|
{{ !empty($assignment->first_submission) ? dateTimeFormat($assignment->first_submission, 'j M Y | H:i') : '-' }}
|
{{ !empty($assignment->last_submission) ? dateTimeFormat($assignment->last_submission, 'j M Y | H:i') : '-' }}
|
{{ !empty($assignment->attempts) ? "{$assignment->usedAttemptsCount}/{$assignment->attempts}" : '-' }}
|
{{ (!empty($assignment->assignmentHistory) and !empty($assignment->assignmentHistory->grade)) ? $assignment->assignmentHistory->grade : '-' }}
|
{{ $assignment->pass_grade }}
|
@if(empty($assignment->assignmentHistory) or ($assignment->assignmentHistory->status == \App\Models\WebinarAssignmentHistory::$notSubmitted))
{{ trans('update.assignment_history_status_not_submitted') }}
@else
@switch($assignment->assignmentHistory->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
|
|
@endforeach