@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; $canTakeAttendance = $tenant->hasModule('batch_attendance'); @endphp

Today

@forelse($todayBatches as $batch)

{{ $batch->timeLabel() }}

{{ $batch->course?->name }}

{{ $batch->name }} · {{ $batch->mode === 'online' ? 'Online' : ($batch->room?->name ?? 'No room') }} · {{ $batch->active_enrollments_count }} students

@if($canTakeAttendance) Take Attendance @endif @if($batch->online_link) Join online @endif
@empty

No classes today.

@endforelse

All my batches

@forelse($batches as $batch) @empty @endforelse
Batch Days Time Room Students

{{ $batch->name }}

{{ $batch->course?->name }}

{{ $batch->daysLabel() }} {{ $batch->timeLabel() }} {{ $batch->mode === 'online' ? 'Online' : ($batch->room?->name ?? '—') }} {{ $batch->active_enrollments_count }} @if($canTakeAttendance) Attendance @endif
You're not assigned to any batch yet.