@isset($item['id'])

     @if (Auth::check() && (Auth::user()->role == 'desarrollador' || Auth::user()->role == 'administrador'))
        <li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-header {{ $item['class'] ?? '' }}"
            style=" background: #252525; opacity: 0.6;">

            {{ is_string($item) ? $item : $item['header'] }}

        </li>
    @elseif (Auth::check() && Auth::user()->role == 'gerente')
        @if ($item['id']== 2 || $item['id']== 3)
            <li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-header {{ $item['class'] ?? '' }}"
                style=" background: #252525; opacity: 0.6;">

                {{ is_string($item) ? $item : $item['header'] }}

            </li>
        @endif
    @elseif (Auth::check() && Auth::user()->role == 'recepcionista')
        @if ($item['id']==3 )
            <li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-header {{ $item['class'] ?? '' }}"
                style=" background: #252525; opacity: 0.6;">

                {{ is_string($item) ? $item : $item['header'] }}

            </li>
        @endif
    @endif

@endisset
