@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = \App\Support\Navigation\TeacherNav::groups('attendance'); $statusOptions = \App\Models\AttendanceRecord::STATUS_LABELS; @endphp
Daily Monthly
@if($sections->isEmpty())
You aren't assigned as a class teacher for any section yet. Only a section's class teacher can take its attendance.
@else
@if($students->isEmpty())
No active students found for this section.
@else
@csrf

Total Students

Present

Absent

Present %

Mark all: @foreach($statusOptions as $value => $label) @endforeach
@foreach($students as $student) @endforeach
Code Name Status
{{ $student->student_code }} {{ $student->fullName() }}
@foreach($statusOptions as $value => $label) @endforeach
@endif @endif