@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

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

{{ $courseAssignmentsCount }} {{ trans('update.course_assignments') }}
{{ $pendingReviewCount }} {{ trans('update.pending_review') }}
{{ $passedCount }} {{ trans('quiz.passed') }}
{{ $failedCount }} {{ trans('quiz.failed') }}

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

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

@if($assignments->count() > 0)
@foreach($assignments as $assignment) @endforeach
{{ trans('update.title_and_course') }} {{ trans('update.deadline') }} {{ trans('update.first_submission') }} {{ trans('update.last_submission') }} {{ trans('update.attempts') }} {{ trans('quiz.grade') }} {{ trans('update.pass_grade') }} {{ trans('public.status') }}
{{ $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
{{ $assignments->appends(request()->input())->links('vendor.pagination.panel') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'meeting.png', 'title' => trans('update.my_assignments_no_result'), 'hint' => nl2br(trans('update.my_assignments_no_result_hint_student')), ]) @endif
@endsection @push('scripts_bottom') @endpush