@vite(['resources/sass/app.scss', 'resources/js/app.js'])
@if(session('success')) @endif @if ($errors->any())
@endif

All Notices

@foreach($notices as $notice)
{{$notice->created_at->format('d M Y')}}
{{$notice['title']}}
Delete
@endforeach

All Events

@foreach($events as $event)
{{ $event->title }}

Date: {{ $event->date->format('d M Y') }}

Location: {{ $event->location }}

{{ Str::limit($event->description, 100) }}

Update Delete
@endforeach
Registration Form
@csrf
Add Course
@csrf

All Teachers

@foreach($teachers as $teacher)
Teacher

{{ $teacher->name }}

Department: {{ $teacher->dept }}

Roll: {{ $teacher->teacher_roll }}

Phone: {{ $teacher->phone }}

Email: {{ $teacher->email }}

Fax: {{ $teacher->fax }}

@endforeach

All Halls

@foreach($halls as $hall)
Hall

{{ $hall->hall_name }}

Provost: {{ $hall->provost->name ?? 'N/A' }}

Assistant Provost: {{ $hall->assistantProvost1->name ?? 'N/A' }}

Assistant Provost: {{ $hall->assistantProvost2->name ?? 'N/A' }}

@endforeach