@extends('admin.layouts.app') @section('title', 'Mark Attendance') @section('breadcrumb') @endsection @section('content')
Select Class & Semester
{{--
--}}
@if ($students->count())
@csrf
Students — {{ $students->count() }} total
@foreach ($students as $i => $student) @endforeach
# Roll No. Student Name Subject
{{ $i + 1 }} {{ $student->roll_no ?? '—' }}
{{ strtoupper(substr($student->student_name, 0, 2)) }}
{{ $student->student_name }}
@foreach ($subjects as $subject) category == 'Major') checked disabled @endif @if ($subject->category != 'Major' && $student->asignSubjects->contains('subject_id', $subject->id)) checked @endif> {{ $subject->name }} - ({{ $subject->category }})
@endforeach
@else

No students found for this class.

@endif @endsection @push('scripts') @endpush