AdminLTE Logo ADMIN PANEL {{-- SIDE MENU --}}
{{-- {{ var_dump(getMenus(Auth::user()->role_id)); }} --}}
    @php $menus = \Menu::getMenu(); // ukyoLog("debug", "Logging from side_menu.blade.php" ,$menus->toArray()); @endphp @foreach ($menus as $m) @php $is_open = $m->is_child_menu_opened ? 'menu-is-opening menu-open' : ''; $is_active = $m->is_active_url ? 'active' : ''; $is_granted = $m->is_granted @endphp @if (!$is_granted) @continue @endif @if ($m->header)
  • {{$m->header}}
  • @endif
  • {{ $m->name }} @if ($m->child->isNotEmpty())

      @foreach ($m->child as $c) @php $is_active = $c->is_active_url ? 'active' : ''; @endphp
    • {{ $c->name }}

    • @endforeach
    @else

    @endif
  • @endforeach