{{ $menu->menu_name }}
@if (session('status'))
@endif
{{ $editingSubject ? 'แก้ไขข้อมูลกลุ่มงาน/สาระการเรียนรู้' : 'แบบฟอร์มการบันทึกข้อมูลกลุ่มงาน/สาระการเรียนรู้' }}
รายการ
| ลำดับ |
ชื่อกลุ่มงาน/สาระการเรียนรู้ |
@if ($canEdit)
|
@endif
@if ($canDelete)
|
@endif
@foreach ($subjects as $subject)
| {{ $subject->id }} |
{{ $subject->name }} |
@if ($canEdit || $canDelete)
@if ($canEdit)
@include('shell.icons.pencil')
@endif
|
@endif
@if ($canDelete)
|
@endif
@endforeach
@if ($subjects->isEmpty())
{{ $search !== '' ? 'ไม่พบรายการที่ค้นหา' : 'ยังไม่มีข้อมูล' }}
@endif
@include('shell.partials.pagination', ['paginator' => $subjects])
@if ($errors->any())
@endif