@if (session()->has('message'))
{{ session('message') }}
@endif @foreach ($calendar_events as $calendar_event)

{{ $calendar_event->user->name }}

{{ $calendar_event->calendar_event_type->name }}

{{ $calendar_event->reason }}

Start: {{ $calendar_event->date_start }}

End: {{ \Carbon\Carbon::parse($calendar_event->date_end)->subDay()->format('Y-m-d') }}

@if (auth()->user()->roles()->whereIn('name', ['Super Admin', 'Admin'])->exists()) @endif
@endforeach @if ($calendar_events->isEmpty())

{{ __('norequests') }}

@endif