-
{{-- Foreach menu item starts --}}
@if(isset($menuData[0]))
@foreach($menuData[0]->menu as $menu)
@if(isset($menu->navheader))
- {{ __('locale.'.$menu->navheader) }} @else {{-- Add Custom Class with nav-item --}} @php $custom_classes = ""; if(isset($menu->classlist)) { $custom_classes = $menu->classlist; } @endphp
- {{ __('locale.'.$menu->name) }} @if (isset($menu->badge)) {{$menu->badge}} @endif @if(isset($menu->submenu)) @include('panels/submenu', ['menu' => $menu->submenu]) @endif @endif @endforeach @endif {{-- Foreach menu item ends --}}