@if (count($onlineExamReport) > 0)

Total Students: @if (!empty($totalStudent)) {{ $totalStudent }} @else 0 @endif In Exam : @if (!empty($inExam)) {{ $inExam }} @else 0 @endif Absent : @if (!empty($absentStudent)) {{ $absentStudent }} @else 0 @endif

@if ($onlineExamReport->isNotEmpty()) @foreach ($onlineExamReport as $key => $examReport) @endforeach @endif
SL Student ID Student Name Roll Class Section Group Exam Type Exam Head Exam Attend Date / Time
{{ $key+1 }} {{ $examReport->system_generated_student_id}} {{ $examReport->student_name }} {{ $examReport->roll_no }} {{ $examReport->ClassName }} {{ $examReport->SectionName }} {{ $examReport->GroupName }} {{ $examReport->exam_type_name }} {{ $examReport->exam_head_name }} {{ $examReport->created_at }}
@else

Nothing to show!

@endif