@extends('layouts.staff_dashboard') @section('title', 'Assessment Attempts') @section('content')

Assessment Attempts

Assessment: {{ $assessment->assname }} Course: {{ $assessment->course_name }} Module: {{ $assessment->module_name }} Date: {{ $assessment->displayDate }} Time: {{ $assessment->displayStartTime }} - {{ $assessment->displayEndTime }} Total Attempts: {{ $attemptedStudents->total() }}
@if($attemptedStudents->isEmpty())

No Students Started

No students have started this assessment yet.

Back to Assessments
@else
@foreach($attemptedStudents as $index => $student) @endforeach
# Student Name Registration No Started At Last Activity Actions
{{ ($attemptedStudents->currentPage() - 1) * $attemptedStudents->perPage() + $index + 1 }}
{{ $student->name }}
{{ $student->regno }} @if($student->started_at) {{ Carbon\Carbon::parse($student->started_at)->format('d M, Y h:i A') }} @else N/A @endif @if($student->last_activity) {{ Carbon\Carbon::parse($student->last_activity)->format('d M, Y h:i A') }} @else N/A @endif
{{ $attemptedStudents->links('staff.pagination.attempts') }}
@endif
@endsection