@extends('layouts.app') @section('title', 'Dean of Studies Settings') @section('content')
| Term | Year | Name | Starts | Ends | Status | Actions |
|---|---|---|---|---|---|---|
| Term {{ $row->term }} | {{ $row->year }} | {{ $row->name ?: '—' }} | {{ $row->start_date ? \Carbon\Carbon::parse($row->start_date)->format('d M Y') : '—' }} | {{ $row->end_date ? \Carbon\Carbon::parse($row->end_date)->format('d M Y') : '—' }} | @if($row->is_current)Current@elsePast@endif |
@unless($row->is_current)
@endunless
|
| Class | Subject | Stream | Teacher | Term | Actions |
|---|---|---|---|---|---|
| {{ $row->class_name }} | {{ $row->subject }} | {{ $row->stream ?: 'All streams' }} | {{ $row->teacher_name }} {{ $row->initials }} | Term {{ $row->term }} · {{ $row->year }} | |