@extends('teacher.teacher_dashboard') @section('admin')
{{-- Breadcrumb --}} {{-- Page Title --}}

Published Syllabus — {{ $currentSession->name ?? '' }}

Back to Drafts
{{-- Message --}} @if(isset($message))
{{ $message }}
@endif
{{-- Filter Box --}}
Filter
{{-- List Box --}}
Published Syllabus List
@forelse($syllabuses as $index => $syllabus) @empty @endforelse
S.No Class Subject Teacher Published Date Action
{{ $index + 1 }} {{ $syllabus->class->name ?? '-' }} {{ $syllabus->subject->name ?? '-' }} {{ $syllabus->creator->name ?? '-' }} {{ $syllabus->published_at ? $syllabus->published_at->format('d M Y') : '-' }}
No published syllabus found.
{{-- Optional pagination (if $syllabuses is paginated) --}} @if(method_exists($syllabuses, 'links'))

@if($syllabuses->total() > 0) Page {{ $syllabuses->currentPage() }} of {{ $syllabuses->lastPage() }}, showing {{ $syllabuses->count() }} records out of {{ $syllabuses->total() }} total @else Showing 0 records @endif

{{ $syllabuses->appends(request()->query())->links() }}
@endif
@endsection @section('customjs') {{-- Optional custom JS here --}} @endsection