@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = \App\Support\Navigation\ParentNav::groups('calendar', $guardian); $focusStudent = \App\Support\Navigation\ParentNav::focusStudent($guardian); $typeByName = $types->keyBy('name'); @endphp @include('tenant.parent-panel.partials.child-switcher')
@if(!$session)
No academic sessions yet.
@else
@foreach($types as $type) @continue(($summary['by_type'][$type->name] ?? 0) === 0) @endforeach
@forelse($events as $event) @empty @endforelse
SL Title Type Applies To Start End Days
{{ $loop->iteration }} {{ $event->title }} {{ $event->type }} {{ $appliesToOptions[$event->applies_to] ?? $event->applies_to }} {{ $event->start_date->format('M j, Y') }} {{ $event->end_date->format('M j, Y') }} {{ $event->dayCount() }}
No calendar events for this session yet.
@endif