@extends('layouts.app') @section('title', 'Academic Calendar') @section('page-title', 'Academic Calendar') @section('content') @php $isAdmin = auth()->user()->role === 'admin'; $currentMonth = \Carbon\Carbon::parse($month . '-01'); @endphp
{{ $event->description }}
@endif{{ $event->duration }}
{{ $holidays }}
Holidays
{{ $terms->where('type', 'exam')->count() }}
Exams
{{ $terms->where('type', 'sports')->count() }}
Sports
{{ $terms->whereIn('type', ['celebration','cultural'])->count() }}
Cultural
{{ $event->title }}
{{ $event->start_date->format('D, d M Y') }}
@if($event->is_holiday) HOLIDAY @endif