• Menu
  • @foreach($sidebar as $key => $sidedata) @if($sidedata->getRoute()) @if(!Permission::has($sidedata->getRoute())) @continue @endif @endif
  • @if($sidedata->getIcon())
    @endif {{ $sidedata->getLabel() }}
    @if($sidedata->getChildren())
      @foreach($sidedata->getChildren() as $subkey => $subdata) @if($subdata->getRoute()) @if(!Permission::has($subdata->getRoute())) @continue @endif @endif
    • @if($subdata->getIcon()) @endif {{ $subdata->getLabel() }} @if($subdata->getChildren())
        @if($subdata->getChildren()) @foreach($subdata->getChildren() as $thirdkey => $thirddata) @if($thirddata->getRoute()) @if(!Permission::has($thirddata->getRoute())) @continue @endif @endif
      • @if($thirddata->getIcon()) @endif {{ $thirddata->getLabel() }}
      • @endforeach @endif
      @endif
    • @endforeach
    @endif
  • @endforeach