Students Enrolled in {{ $course->course_name }}
Code: {{ $course->course_code }}
Type: {{ $course->course_type }}
Scheme: {{ $course->scheme_name }}
Teacher: {{ $course->teacher_name }}
@php
$course_category = $course->course_category;
$alowed_types =[];
if ($course_category == 'theory') {
if(!empty($course->internal)){
$alowed_types['internal'] = 'Theory Internal';
}
if(!empty($course->mcq)){
$alowed_types['mcq'] = 'MCQ';
}
}
if ($course_category == 'practical') {
if(!empty($course->practical)){
$alowed_types['partical_internal'] = 'Partical Internal';
}
}
$studentsBatches = array_chunk($students->toArray(), 10); // Chunk students into batches of 10
@endphp
@foreach ($studentsBatches as $index => $batch)
@endforeach
@endsection