@php $coaching = app(\App\Services\Coaching\CoachingDashboard::class)->snapshot($tenant); $currency = $tenant->default_currency; @endphp

Today's classes

Weekly routine →
@forelse($coaching['todayBatches'] as $batch)
{{ $batch->timeLabel() }} {{ $batch->course?->name }} — {{ $batch->name }} {{ $batch->teacher ? $batch->teacher->first_name.' '.$batch->teacher->last_name : 'No instructor' }} · {{ $batch->mode === 'online' ? 'Online' : ($batch->room?->name ?? 'No room') }} · {{ $batch->active_enrollments_count }} students
@if($tenant->hasModule('batch_attendance')) @if($coaching['markedToday']->contains($batch->id)) Attendance done @else Take attendance @endif @endif
@empty

No classes scheduled today.

@endforelse
@if($coaching['followUpsDue'] !== null) @endif @if($coaching['dueCents'] !== null) @endif