{{ \Carbon\Carbon::parse($topic->masterDate->date)->format('F jS, Y') }}

@if ($topic->masterClass)

{{ \Carbon\Carbon::parse($topic->masterClass->start_time)->format('g:i A') }}

{{ \Carbon\Carbon::parse($topic->masterClass->end_time)->format('g:i A') }}
@endif
@php // Unique date key per topic $dateKey = strtolower(\Carbon\Carbon::parse($topic->masterDate->date)->format('M')) . \Carbon\Carbon::parse($topic->masterDate->date)->format('d'); // Unique ID combining date and loop index $uniqueId = $dateKey . '-' . $loop->index; @endphp

{{ $topic->title }}

{!! $topic->description !!}


@if (isset($topic->masterClass) && !empty($topic->masterClass)) View session @endif