@extends('admin.layout.app') @section('body')

{{ __('admin.timetable_management') }}

{{ __('admin.add_entry') }}
{{ __('admin.reset') }}
@foreach($timetables as $tt) @endforeach
{{ __('admin.id') }}{{ __('admin.course') }}{{ __('admin.teacher_3') }}{{ __('admin.day') }}{{ __('admin.time') }}{{ __('admin.classroom') }}{{ __('admin.semester') }}{{ __('admin.actions') }}
{{ $tt->id }} {{ $tt->course->title ?? '' }} ({{ $tt->course->code ?? '' }}) {{ $tt->teacher->name ?? '' }} {{ ucfirst($tt->day_of_week) }} {{ $tt->timeSlot->name ?? '' }} {{ $tt->classroom->name ?? '' }} {{ $tt->semester->name ?? '' }} {{ __('admin.edit') }}
@csrf @method('DELETE')
{{ $timetables->links('pagination::bootstrap-4') }}
@endsection