Hello, {{ auth()->user()->name }}.
@if (isset(auth()->user()?->student?->currentBatch?->batch?->title)) You're enrolled to the {{ auth()->user()->student->currentBatch?->batch?->title }}. See the following table to check your class schedules. @else You're not enrolled to any batch. @endif
| Day | Time | Teacher | |
|---|---|---|---|
| {{ Carbon\Carbon::parse($schedule->date)->format('d F, Y') }} ({{ $schedule->day_name }}) | {{ Carbon\Carbon::parse($schedule?->batchDay?->start_time)->format('h:i A') }} - {{ Carbon\Carbon::parse($schedule?->batchDay?->end_time)->format('h:i A') }} | {{ $schedule->batchDay->teacher_name }} | |
| No schedule found. | |||