@extends('home.partial.layout') @section('content') Calendar Home Calendar Add Event/Holiday @if($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if(Session::has('success')) {{ session('success') }} @endif @if(Session::has('error')) {{ session('error') }} @endif Add New × @csrf Name/Title * Type * Choose option Full Day Single Day Custom Holiday Annual Leave @php $departments = departments(); @endphp Applicable To All @foreach($departments as $department) {{ $department->name }} @endforeach Start Time * End Time* Details * Background colour Submit Event × × Add a category Category Name Choose Category Color Success Danger Info Pink Primary Warning Orange Brown Teal @endsection