{{ $menu->menu_name }}

@if (session('status')) @endif

{{ $editingSubject ? 'แก้ไขข้อมูลกลุ่มงาน/สาระการเรียนรู้' : 'แบบฟอร์มการบันทึกข้อมูลกลุ่มงาน/สาระการเรียนรู้' }}

@if ($editingSubject) @method('PUT') @endif @csrf
@if ($editingSubject) @endif

รายการ

@if ($canEdit) @endif @if ($canDelete) @endif @foreach ($subjects as $subject) @if ($canEdit || $canDelete) @endif @if ($canDelete) @endif @endforeach
ลำดับ ชื่อกลุ่มงาน/สาระการเรียนรู้
{{ $subject->id }} {{ $subject->name }} @if ($canEdit) @include('shell.icons.pencil') @endif
@csrf @method('DELETE')
@if ($subjects->isEmpty())

{{ $search !== '' ? 'ไม่พบรายการที่ค้นหา' : 'ยังไม่มีข้อมูล' }}

@endif @include('shell.partials.pagination', ['paginator' => $subjects])
@if ($errors->any()) @endif