@php use App\Support\Money; @endphp
← All courses
@if($course->category)

{{ $course->category->name }}

@endif

{{ $course->name }}

@if($course->imageUrl())@endif @if($course->description)

{{ $course->description }}

@endif @if($course->highlightList())

What you get

    @foreach($course->highlightList() as $highlight)
  • ✓ {{ $highlight }}
  • @endforeach
@endif

Choose your batch

@forelse($batches as $batch) @php $left = $batch->capacity ? max(0, $batch->capacity - $batch->active_enrollments_count) : null; @endphp

{{ $batch->name }} {{ \App\Models\Batch::MODES[$batch->mode] ?? $batch->mode }}

{{ $batch->daysLabel() }} · {{ $batch->timeLabel() }} · starts {{ $batch->start_date->format('d M Y') }}

{{ $batch->teacher ? 'Instructor: '.$batch->teacher->first_name.' '.$batch->teacher->last_name : '' }}{{ $batch->branch && $batch->mode !== 'online' ? ' · '.$batch->branch->name : '' }}

{{ Money::format($batch->effectiveFeeCents(), $currency) }}{{ $course->billing_type === 'monthly' ? '/mo' : '' }}

@if($left === 0) Batch full @else Enroll now @if($left !== null && $left <= 10)

Only {{ $left }} seat(s) left

@endif @endif
@empty

No batch is open right now. Please contact us to join the waiting list.

@endforelse