{{-- Header --}}
@if($school && $school->school_logo) @endif

{{ $school->school_name ?? 'School Name' }}

@if($school && $school->campus_name)

Campus: {{ $school->campus_name }}

@endif

{{ $school->address ?? '' }}

@if($school && $school->phone) Phone: {{ $school->phone }} | @endif @if($school && $school->eiin_number) EIIN: {{ $school->eiin_number }} @endif

Academic Calendar

{{-- Table --}} @foreach($events as $sl => $event) @endforeach
SL Event Name Date(s) Day(s) Description
{{ $sl + 1 }} {{ $event->title }} @if($event->end_date) {{ \Carbon\Carbon::parse($event->start_date)->format('d M Y') }} - {{ \Carbon\Carbon::parse($event->end_date)->format('d M Y') }} @else {{ \Carbon\Carbon::parse($event->start_date)->format('d M Y') }} @endif {{ $event->days_text }} {{ $event->description }}
{{-- Footer --}}