@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; @endphp
@forelse($batches as $batch) @php $summary = $marked->get($batch->id); @endphp @empty @endforelse
Time Batch Instructor Students Attendance
{{ $batch->timeLabel() }}

{{ $batch->name }}

{{ $batch->course?->name }}{{ $batch->room ? ' · '.$batch->room->name : '' }}

{{ $batch->teacher ? $batch->teacher->first_name.' '.$batch->teacher->last_name : '—' }} {{ $batch->active_enrollments_count }} @if($summary) Marked {{ $summary->absent }} absent @else Not taken @endif {{ $summary ? 'Review' : 'Take' }}
No batches meet on this day.