{{ __('app.academics.calendar.title') }}

{{ __('app.academics.calendar.desc') }}

@can('calendar.print') @if ($year) {{ __('app.actions.print') }} @endif @endcan @can('calendar.create') {{ __('app.academics.calendar.create') }} @endcan
@if ($notice) {{ $notice }} @endif @if ($errors->has('calendar')) {{ $errors->first('calendar') }} @endif
@foreach ($years as $option) @endforeach @foreach ($types as $case) @endforeach @foreach ($terms as $term) @endforeach
@if ($showForm)
@foreach ($types as $case) @endforeach @foreach ($terms as $term) @endforeach
{{ __('app.actions.cancel') }} {{ __('app.actions.save') }}
@endif
@forelse ($events as $event) @empty @endforelse
{{ __('app.academics.fields.dates') }} {{ __('app.academics.fields.title') }} {{ __('app.academics.fields.event_type') }} {{ __('app.academics.fields.term') }} {{ __('app.academics.fields.is_holiday') }} {{ __('app.actions.view') }}
{{ $event->starts_on->format('d M Y') }} @if ($event->ends_on && ! $event->ends_on->equalTo($event->starts_on)) — {{ $event->ends_on->format('d M Y') }} @endif {{ $event->localizedTitle() }} @if ($event->description) {{ $event->description }} @endif {{ $event->type->label() }} {{ $event->term?->localizedName() ?? '—' }} @if ($event->is_holiday) {{ __('app.academics.calendar.holiday') }} @else — @endif
@can('calendar.edit') {{ __('app.actions.edit') }} @endcan @can('calendar.delete') {{ __('app.actions.delete') }} @endcan