@if(!empty($bookings))

{{ __('courses::courses.sessions_detail') }}

@foreach($bookings as $booking) @php $img = $emailFor == 'student' ? $booking['tutorImg'] : $booking['studentImg']; $name = $emailFor == 'student' ? $booking['tutorName'] : $booking['studentName']; @endphp @endforeach
{{ $emailFor == 'tutor' ? (setting('_lernen.student_display_name') ?? __('general.student')) : (setting('_lernen.tutor_display_name') ?? __('general.tutor')) }} {{ __('booking.subject') }} {{ __('calendar.date_time') }}
@if (!empty($img) && Storage::disk(getStorageDisk())->exists($img)) {{ $name }} @else {{ $name }} @endif
{{ $name }}
{!! $booking['subjectName'] !!} {!! $booking['sessionTime'] !!}
@endif @if(!empty($courses))

{{ __('courses::courses.courses_detail') }}

@foreach($courses as $course) @php $img = $emailFor == 'student' ? $course['tutorImg'] : $course['studentImg']; $name = $emailFor == 'student' ? $course['tutorName'] : $course['studentName']; @endphp @endforeach
{{ $emailFor == 'tutor' ? (setting('_lernen.student_display_name') ?? __('general.student')) : (setting('_lernen.tutor_display_name') ?? __('general.tutor')) }} {{ __('courses::courses.course_title') }} {{ __('courses::courses.price') }}
@if (!empty($img) && Storage::disk(getStorageDisk())->exists($img)) {{ $name }} @else {{ $name }} @endif
{{ $name }}
{!! $course['courseTitle'] !!} {!! formatAmount($course['coursePrice']) !!}
@endif