School Years
{{ $schoolYears->count() }}
@forelse ($schoolYears as $schoolYear) @empty @endforelse
School Year Starts On Ends On Status Actions
{{ $schoolYear->name }} {{ $schoolYear->starts_on?->format('M d, Y') ?? '-' }} {{ $schoolYear->ends_on?->format('M d, Y') ?? '-' }} {{ $schoolYear->is_active ? 'Active' : 'Inactive' }}
@if ($schoolYear->is_active)
@csrf
@else
@csrf
@endif @php $termCount = $schoolYear->schoolTerms->count(); $sectionCount = $schoolYear->sections_count; $hasDependents = $termCount > 0 || $sectionCount > 0; @endphp
@csrf @method('DELETE') @if ($hasDependents) @endif
No school years found.