@push('head') @endpush
{{-- Header --}}

Setting Menu

Menu dashboard peronit
{{-- Section Data --}}
{{-- Header --}}
{{-- Bulk Action --}} @if(count($selected) > 0) @endif
{{-- Tables --}}
@forelse($menu->where('parent_id', null) as $cat) {{-- Show Sub Categories --}} @foreach($cat->children as $sub) {{-- Show Child Categories --}} @foreach($sub->children as $child) @endforeach @endforeach @empty @endforelse
# @if($sortField === 'order') @endif
Icon
Name @if($sortField === 'name') @endif
Type URL
Parent @if($sortField === 'parent_id') @endif
Status @if($sortField === 'is_active') @endif
Actions
{{ $cat->sort_order }} {{ $cat->name }} {{ $cat->type }} {{ $cat->url }} {{ $cat->parent?->name ?? '-' }} @if($cat->is_active) Active @else Inactive @endif
{{ $sub->sort_order }} — {{ $sub->name }} {{ $sub->type }} {{ $sub->url }} {{ $sub->parent?->name }} @if($sub->is_active) Active @else Inactive @endif
{{ $child->sort_order }} —— {{ $child->name }} {{ $child->type }} {{ $child->url }} {{ $child->parent?->name }} @if($child->is_active) Active @else Inactive @endif

No categories found.

{{-- Pagination --}} {{ $menu->links('components.utilities.paginate') }} @include('components.modal.ModalDeleteComfrimed', ['title' => 'Data Produk', 'count' => count($selected)])
@push('script') @endpush