| ลำดับ | ชื่อเมนู | สถานะ | @if ($canEdit)เรียงลำดับ | จัดการ | @endif
|---|---|---|---|---|
| {{ $item->sort_order }} | {{ $item->menu_name }} | {{ $item->status ? 'เปิดใช้งาน' : 'ปิดใช้งาน' }} | @if ($canEdit)
@include('shell.sections.master.menu-order', ['menuItem' => $item, 'canMoveUp' => ! $loop->first, 'canMoveDown' => ! $loop->last])
|
@include('shell.icons.pencil') | @endif
| {{ $child->sort_order }} | {{ $child->menu_name }} | {{ $child->status ? 'เปิดใช้งาน' : 'ปิดใช้งาน' }} | @if ($canEdit)
@include('shell.sections.master.menu-order', ['menuItem' => $child, 'canMoveUp' => ! $loop->first, 'canMoveDown' => ! $loop->last])
|
@include('shell.icons.pencil') | @endif
{{ $search !== '' ? 'ไม่พบรายการที่ค้นหา' : 'ยังไม่มีข้อมูล' }}
@endif @include('shell.partials.pagination', ['paginator' => $menuItems])