@if(count($studentReports) > 0) @foreach($studentReports as $studentReport)
{{ substr($studentReport['student']->name, 0, 1) }}

{{ $studentReport['student']->name }}

{{ $studentReport['student']->regno }} {{ $studentReport['student']->dept }}
Attempted {{ $studentReport['completed_count'] }}/{{ $studentReport['total_questions'] }}
Progress {{ number_format($studentReport['percentage'], 1) }}%
@if($studentReport['total_questions'] > 0)
0% {{ $studentReport['progress_level'] == 'high' ? 'Excellent' : ($studentReport['progress_level'] == 'medium' ? 'Good' : 'Needs Improvement') }} 100%
@endif
@if($studentReport['completed_count'] > 0 && !empty($studentReport['attempt_ids']))
@csrf
@else @endif
@endforeach @else

No Students Found

{{ isset($search) && $search ? 'No students match your search criteria.' : 'No students are enrolled for this assessment.' }}

@endif