School Terms
{{ $schoolYears->sum(fn ($year) => $year->schoolTerms->count()) }} @if ($schoolYears->isNotEmpty())
@endif
@forelse ($schoolYears as $schoolYear) @forelse ($schoolYear->schoolTerms as $schoolTerm) @empty @endforelse @empty @endforelse
Term Order Starts On Ends On Status Actions
{{ $schoolYear->name }} @if ($schoolYear->is_active) Active Year @endif
{{ $schoolTerm->name }} {{ $schoolTerm->term_order }} {{ $schoolTerm->starts_on?->format('M d, Y') ?? '-' }} {{ $schoolTerm->ends_on?->format('M d, Y') ?? '-' }} {{ $schoolTerm->is_active ? 'Active' : 'Inactive' }}
@if ($schoolTerm->is_active)
@csrf
@else
@csrf
@endif
No terms for this school year.
No school years found. Add a school year first.