@if(!empty($booking))
@php
$subject = $booking->slot->subjectGroupSubjects->subject->name;
$tooltipClass = Arr::random(['warning', 'pending', 'ready', 'success'])
@endphp
parseToUserTz($booking->slot->start_time)->isFuture() || $booking->status == 'disputed' || $booking->status == 'rescheduled' ,
'am-blur-tooltip' => auth()->user()->role == 'student' && ($booking->status == 'rescheduled' || $booking->status == 'disputed')
])>
@if(auth()->user()->role == 'student' && $booking->status == 'rescheduled')
@elseif(auth()->user()->role == 'student' && $booking->status == 'disputed')
@elseif(parseToUserTz($booking->slot->start_time)->isFuture())
-
{{ __('calendar.session_fee') }}
{{ formatAmount($booking->slot->session_fee) }}
-
{{ __('calendar.total_enrollment') }}
@if ($booking->slot->total_booked > 0 && !empty($booking->slot->students))
@foreach ($booking->slot->students as $student)
-
@if (!empty($student->image) && Storage::disk(getStorageDisk())->exists($student->image))
@else
@endif
@endforeach
-
{{ __('calendar.booked_students', ['count' => $booking->slot->bookings_count]) }}
@else
--
@endif
-
{{ __('general.date') }}
{{ parseToUserTz($booking->slot->start_time)->format(setting('_general.date_format') ?? 'F j, Y') }}
-
{{ __('calendar.time') }}
{{ parseToUserTz($booking->slot->start_time)->format('h:i a') }} -
{{ parseToUserTz($booking->slot->end_time)->format('h:i a') }}
@endif
@endif