<div class="page-sidebar navbar-collapse collapse">
    <ul class="page-sidebar-menu  page-header-fixed " data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" style="padding-top: 20px">
        <li class="sidebar-toggler-wrapper hide">
            <div class="sidebar-toggler">
                <span></span>
            </div>
        </li>
        <li class="nav-item start {{ (Request::is('inicio') ? 'active' : '') }} ">
            <a href="{{ url('inicio') }}" class="nav-link ">
                <i class="icon-home"></i>
                <span class="title">Inicio</span>
            </a>
        </li>
        <li class="nav-item start {{ (Request::is('perfil*') ? 'active' : '') }} ">
            <a href="{{ url('perfil') }}" class="nav-link ">
                <i class="icon-user"></i>
                <span class="title">Perfil</span>
            </a>
        </li>

        @if(!Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('personal/justificar') ? 'active' : '') }} ">
                <a href="{{ url('personal/justificar') }}" class="nav-link ">
                    <i class="icon-calendar" aria-hidden="true"></i>
                    <span class="title">Justificaci&oacute;n de Inasistencia</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))

            <li class="nav-item start {{ (Request::is('justificacion/profesor') ? 'active' : '') }} ">
                <a href="{{ url('justificacion/profesor') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Justificaci&oacute;n de Inasistencia Clases</span>
                </a>
            </li>

            <li class="nav-item start {{ (Request::is('reprogramacion/profesor') ? 'active' : '') }} ">
                <a href="{{ url('reprogramacion/profesor') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Reprogramaci&oacute;n y Recuperaci&oacute;n de Clases</span>
                </a>
            </li>
        @endif

    @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('personal') ? 'active' : '') }} ">
                <a href="{{ url('personal') }}" class="nav-link ">
                    <i class="icon-users"></i>
                    <span class="title">Gestión de personal</span>
                </a>
            </li>

            <li class="nav-item start {{ (Request::is('asistencia/personal') ? 'active' : '') }} ">
                <a href="{{ url('asistencia/personal') }}" class="nav-link ">
                    <i class="icon-check"></i>
                    <span class="title">Asistencia del Personal</span>
                </a>
            </li>

            <li class="nav-item start {{ (Request::is('gestionarproyecto') ? 'active' : '') }} ">
                <a href="{{ url('gestionarproyecto') }}" class="nav-link ">
                    <i class="fa fa-clipboard" aria-hidden="true"></i>
                    <span class="title">Gestionar proyecci&oacute;n social</span>
                </a>
            </li>

            <li class="nav-item start {{ (Request::is('reasignacion') ? 'active' : '') }} ">
                <a href="{{ url('reasignacion') }}" class="nav-link ">
                    <i class="fa fa-clipboard" aria-hidden="true"></i>
                    <span class="title">Gesti&oacute;n de Cambio de Secci&oacute;n</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole(['Administrador','Psicologo']))
            <li class="nav-item start {{ (Request::is('seguimiento*') ? 'active' : '') }} ">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="icon-briefcase"></i>
                    <span class="title">Seguimiento del Alumno</span>
                    <span class="arrow {{ (Request::is('seguimiento*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('seguimiento/bienestar*') ? 'active' : '') }} {{ (Request::is('seguimiento/bienestar') ? 'open' : '') }} ">
                        <a href="{{ url('seguimiento/bienestar') }}" class="nav-link ">
                            <span class="title">Bienestar Institucional</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('seguimiento/cita*') ? 'active' : '') }} {{ (Request::is('seguimiento/citasofertas') ? 'open' : '') }} ">
                        <a href="{{ url('seguimiento/cita/general') }}" class="nav-link ">
                            <span class="title">Citas</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))
            <li class="nav-item start {{ (Request::is('asistencia/alumnos') ? 'active' : '') }} ">
                <a href="{{ url('asistencia/alumnos') }}" class="nav-link ">
                    <i class="fa fa-users" aria-hidden="true"></i>
                    <span class="title">Asistencia de Alumnos</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('alumno*') ? 'active' : '') }} ">
                <a href={{ url('alumno') }} class="nav-link">
                <i class="icon-user" aria-hidden="true"></i>
                <span class="title">Gestión de Alumnos</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('admin/apoderados*') ? 'active' : '') }} ">
                <a href={{ url('admin/apoderados') }} class="nav-link">
                    <i class="icon-user-female" aria-hidden="true"></i>
                    <span class="title">Gesti&oacute;n de Apoderados</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('evento') ? 'active' : '') }} ">
                <a href={{ url('evento') }} class="nav-link">
                    <i class="icon-book-open" aria-hidden="true"></i>
                    <span class="title">Gestión de Eventos</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('admin/encuestas*') ? 'active' : '') }} ">
                <a href={{ url('admin/encuestas') }} class="nav-link">
                    <i class="icon-note" aria-hidden="true"></i>
                    <span class="title">Gestión de Encuestas</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('anuncio') ? 'active' : '') }} ">
                <a href="{{ url('anuncio') }}" class="nav-link ">
                    <i class="icon-book-open" aria-hidden="true"></i>
                    <span class="title">Gestión de Anuncios</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))
            <li class="nav-item start {{ (Request::is('horario/dictado') ? 'active' : '') }} ">
                <a href="{{ url('horario/dictado') }}" class="nav-link ">
                    <i class="icon-calendar" aria-hidden="true"></i>
                    <span class="title">Horario de Dictado</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('horario/clases') ? 'active' : '') }} ">
                <a href="{{ url('horario/clases') }}" class="nav-link ">
                    <i class="icon-calendar" aria-hidden="true"></i>
                    <span class="title">Horario de Clases</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('justificacion/alumno') ? 'active' : '') }} ">
                <a href="{{ url('justificacion/alumno') }}" class="nav-link ">
                    <i class="icon-calendar" aria-hidden="true"></i>
                    <span class="title">Justificaci&oacute;n de Inasistencia</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))
            <li class="nav-item start {{ (Request::is('registro/secciones') ? 'active' : '') }} ">
                <a href="{{ url('registro/secciones') }}" class="nav-link ">
                    <i class="fa fa-list-alt" aria-hidden="true"></i>
                    <span class="title">Registro de Notas</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('admin/foro*') ? 'active' : '') }} ">
                <a href="{{ url('admin/foro') }}" class="nav-link ">
                    <i class="icon-grid" aria-hidden="true"></i>
                    <span class="title">Gesti&oacute;n de foros</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('reprogramacion*') ? 'active' : '') }} ">
                <a href="{{ url('reprogramacion/administrador') }}" class="nav-link ">
                    <i class="icon-book-open" aria-hidden="true"></i>
                    <span class="title">Gesti&oacute;n de Reprogramaci&oacute;n de Clases</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('justificacion*') ? 'active' : '') }} ">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="icon-book-open"></i>
                    <span class="title">Gesti&oacute;n de Inasistencias</span>
                    <span class="arrow {{ (Request::is('justificacion*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('administrador') ? 'active' : '') }} {{ (Request::is('ofertas') ? 'open' : '') }} ">
                        <a href="{{ url('justificacion/administrador') }}" class="nav-link ">
                            <span class="title">Personal Administrativo</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('administrador') ? 'active' : '') }} {{ (Request::is('ofertas') ? 'open' : '') }} ">
                        <a href="{{ url('justificacion/administrador/alumno') }}" class="nav-link ">
                            <span class="title">Alumnos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('administrador') ? 'active' : '') }} {{ (Request::is('ofertas') ? 'open' : '') }} ">
                        <a href="{{ url('justificacion/administrador/profesor') }}" class="nav-link ">
                            <span class="title">Profesor</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(!Auth::user()->hasRole('Apoderado'))
            <li class="nav-item start {{ (Request::is('foro*') ? 'active' : '') }} ">
                <a href="{{ url('foro') }}" class="nav-link ">
                    <i class="icon-speech" aria-hidden="true"></i>
                    <span class="title">Foro</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('deudaspendientes*') ? 'active' : '') }} ">
                <a href="{{ url('deudaspendientes') }}" class="nav-link ">
                    <i class="icon-book-open" aria-hidden="true"></i>
                    <span class="title">Deudas pendientes</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole(['Administrador', 'Empresa','ADMBolsa']))
            <li class="nav-item start {{ (Request::is('gestionbolsa*') ? 'active' : '') }} {{ (Request::is('gestionbolsa*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="icon-briefcase"></i>
                    <span class="title">Bolsa de trabajo</span>
                    <span class="arrow {{ (Request::is('gestionbolsa*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    @if(Auth::user()->hasRole(['Administrador','ADMBolsa']))
                        <li class="nav-item {{ (Request::is('ofertas') ? 'active' : '') }} {{ (Request::is('ofertas') ? 'open' : '') }} ">
                            <a href="{{ url('gestionbolsa/ofertas') }}" class="nav-link ">
                                <span class="title">Ofertas</span>
                            </a>
                        </li>
                    @endif

                    @if(Auth::user()->hasRole('Empresa'))
                        <li class="nav-item {{ (Request::is('ofertas') ? 'active' : '') }} {{ (Request::is('ofertas') ? 'open' : '') }} ">
                            <a href="{{ url('gestionbolsa/misofertas') }}" class="nav-link ">
                                <span class="title">Mis Ofertas</span>
                            </a>
                        </li>
                    @endif

                    @if(Auth::user()->hasRole(['Administrador','ADMBolsa']))
                        <li class="nav-item {{ (Request::is('alumnos') ? 'active' : '') }} {{ (Request::is('alumnos') ? 'open' : '') }} ">
                            <a href="{{ url('gestionbolsa/alumnos') }}" class="nav-link ">
                                <span class="title">Alumnos candidatos</span>
                            </a>
                        </li>
                        <li class="nav-item {{ (Request::is('empresas') ? 'active' : '') }} {{ (Request::is('empresas') ? 'open' : '') }} ">
                            <a href="{{ url('gestionbolsa/empresas') }}" class="nav-link ">
                                <span class="title">Empresas</span>
                            </a>
                        </li>
                    @endif
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole(['Administrador', 'Alumno', 'Profesor', 'Bibliotecario', 'Tesorero', 'Contador', 'Secretario', 'Adminisión', 'Matricula', 'Dependencia']))
            <li class="nav-item start {{ (Request::is('encuestas*') ? 'active' : '') }} ">
                <a href="{{ url('encuestas') }}" class="nav-link ">
                    <i class=" icon-pencil" aria-hidden="true"></i>
                    <span class="title">Responder Encuestas</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('admin/uit*') ? 'active' : '') }} {{ (Request::is('admin/uit*') ? 'open' : '') }}">
                <a href="{{ url('admin/uit') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Gestión de UIT</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('admin/dependencia*') ? 'active' : '') }} {{ (Request::is('admin/dependencia*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Gestión de Dependencia</span>
                    <span class="arrow {{ (Request::is('admin/dependencia*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*admin/dependencia') ? 'active' : '') }} {{ (Request::is('*admin/dependencia') ? 'open' : '') }} ">
                        <a href="{{ url('admin/dependencia') }}" class="nav-link ">
                            <span class="title">Listado de Dependencias</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*admin/dependencia/usuario') ? 'active' : '') }} {{ (Request::is('*admin/dependencia/usuario') ? 'open' : '') }} ">
                        <a href="{{ url('admin/dependencia/usuario') }}" class="nav-link ">
                            <span class="title">Dependencias de Usuarios</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole(['Administrador', 'Dependencia', 'Tesorero']))
            <li class="nav-item start {{ (Request::is('admin/tramite*') ? 'active' : '') }} {{ (Request::is('admin/tramite*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Gestión de Trámites</span>
                    <span class="arrow {{ (Request::is('admin/tramite*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    @if(Auth::user()->hasRole(['Administrador']))
                        <li class="nav-item {{ (Request::is('*admin/tramite') ? 'active' : '') }} {{ (Request::is('*admin/tramite') ? 'open' : '') }} ">
                            <a href="{{ url('admin/tramite') }}" class="nav-link ">
                                <span class="title">Listado de Trámites</span>
                            </a>
                        </li>
                        <li class="nav-item {{ (Request::is('*admin/tramite/categoria') ? 'active' : '') }} {{ (Request::is('*admin/tramite/categoria') ? 'open' : '') }} ">
                            <a href="{{ url('admin/tramite/categoria') }}" class="nav-link ">
                                <span class="title">Listado de Categorías</span>
                            </a>
                        </li>
                    @endif
                    
                    @if(Auth::user()->hasRole(['Dependencia', 'Tesorero']))
                        <li class="nav-item {{ (Request::is('*admin/tramite/usuario') ? 'active' : '') }} {{ (Request::is('*admin/tramite/usuario') ? 'open' : '') }} ">
                            <a href="{{ url('admin/tramite/usuario') }}" class="nav-link ">
                                <span class="title">Trámites En Curso</span>
                            </a>
                        </li>
                        <li class="nav-item {{ (Request::is('*admin/tramite/usuariohistorico') ? 'active' : '') }} {{ (Request::is('*admin/tramite/usuariohistorico') ? 'open' : '') }} ">
                            <a href="{{ url('admin/tramite/usuariohistorico') }}" class="nav-link ">
                                <span class="title">Trámites Finalizados</span>
                            </a>
                        </li>
                    @endif
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('tramite*') ? 'active' : '') }} {{ (Request::is('tramite*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="fa fa-clipboard" aria-hidden="true"></i>
                    <span class="title">Consulta de Trámites</span>
                    <span class="arrow {{ (Request::is('tramite*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*tramite') ? 'active' : '') }} {{ (Request::is('*tramite') ? 'open' : '') }} ">
                        <a href="{{ url('tramite') }}" class="nav-link ">
                            <span class="title">Listado de Trámites</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*tramite/realizado') ? 'active' : '') }} {{ (Request::is('*tramite/realizado') ? 'open' : '') }} ">
                        <a href="{{ url('tramite/realizado') }}" class="nav-link ">
                            <span class="title">Trámites En Proceso</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*historico') ? 'active' : '') }} {{ (Request::is('*historico') ? 'open' : '') }} ">
                        <a href="{{ url('tramite/historico') }}" class="nav-link ">
                            <span class="title">Trámites Finalizados</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Tesorero'))
            <li class="nav-item start {{ (Request::is('tesoreria*') ? 'active' : '') }} {{ (Request::is('tesoreria*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="fa fa-credit-card" aria-hidden="true"></i>
                    <span class="title">Tesorería</span>
                    <span class="arrow {{ (Request::is('tesoreria*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('caja*') ? 'active' : '') }} {{ (Request::is('gestioncaja*') ? 'open' : '') }} ">
                        <a href="{{ url('tesoreria/caja') }}" class="nav-link ">
                            <span class="title">Gestión de Caja</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('pagos*') ? 'active' : '') }} {{ (Request::is('*gestionpagos*') ? 'open' : '') }} ">
                        <a href="{{ url('tesoreria/pagos') }}" class="nav-link ">
                            <span class="title">Gestión de pagos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('postulantes*') ? 'active' : '') }} {{ (Request::is('*gestionpostulantes*') ? 'open' : '') }} ">
                        <a href="{{ url('tesoreria/postulantes') }}" class="nav-link ">
                            <span class="title">Pago de Postulantes</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="{{ url('tesoreria/eventos') }}" class="nav-link ">
                            <span class="title">Pago de Eventos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('historial*') ? 'active' : '') }}  {{ (Request::is('*gestionhistorial*') ? 'open' : '') }}">
                        <a href="{{ url('tesoreria/historial') }}" class="nav-link ">
                            <span class="title">Historial de pagos</span>
                        </a>
                    </li>
                </ul>
            </li>
            <li class="nav-item start {{ (Request::is('reporte*') ? 'active' : '') }} {{ (Request::is('reporte*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="fa fa-credit-card" aria-hidden="true"></i>
                    <span class="title">Reportes</span>
                    <span class="arrow {{ (Request::is('reporte*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('ingresos*') ? 'active' : '') }} {{ (Request::is('gestioncaja*') ? 'open' : '') }} ">
                        <a href="{{ url('reporte/mensual') }}" class="nav-link ">
                            <span class="title">Reporte de Tr&aacute;mite</span>

                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('pagos*') ? 'active' : '') }} {{ (Request::is('*gestionpagos*') ? 'open' : '') }} ">
                        <a href="{{ url('reporte/rango') }}" class="nav-link ">
                            <span class="title">Reporte de Ingresos</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('reportesasistencia*') ? 'active' : '') }} {{ (Request::is('reportesasistencia*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Reportes de Asistencias</span>
                    <span class="arrow {{ (Request::is('reportesasistencia*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*alumnos') ? 'active' : '') }} {{ (Request::is('*alumnos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesasistencia/alumnos') }}" class="nav-link ">
                            <span class="title">Asistencia de alumnos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*personal') ? 'active' : '') }} {{ (Request::is('*personal') ? 'open' : '') }} ">
                        <a href="{{ url('reportesasistencia/personal') }}" class="nav-link ">
                            <span class="title">Asistencias del personal</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('miasistenciaalumno') ? 'active' : '') }} ">
                <a href="{{ url('miasistenciaalumno') }}" class="nav-link ">
                    <i class="icon-hourglass" aria-hidden="true"></i>
                    <span class="title">Mi asistencia</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))
            <li class="nav-item start {{ (Request::is('miasistencia') ? 'active' : '') }} ">
                <a href="{{ url('miasistencia') }}" class="nav-link ">
                    <i class="icon-hourglass" aria-hidden="true"></i>
                    <span class="title">Mi asistencia</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('reportestramite*') ? 'active' : '') }} {{ (Request::is('reportestramite*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Reportes de Trámites</span>
                    <span class="arrow {{ (Request::is('reportestramite*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*alumnos') ? 'active' : '') }} {{ (Request::is('*alumnos') ? 'open' : '') }} ">
                        <a href="{{ url('reportestramite/alumnos') }}" class="nav-link ">
                            <span class="title">Tramites de alumnos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*dependencias') ? 'active' : '') }} {{ (Request::is('*dependencias') ? 'open' : '') }} ">
                        <a href="{{ url('reportestramite/dependencias') }}" class="nav-link ">
                            <span class="title">Tramites por dependencia</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*periodo') ? 'active' : '') }} {{ (Request::is('*periodo') ? 'open' : '') }} ">
                        <a href="{{ url('reportestramite/periodo') }}" class="nav-link ">
                            <span class="title">Tramites por periodo</span>
                        </a>
                    </li>
                </ul>
            </li>
            <li class="nav-item start {{ (Request::is('record') ? 'active' : '') }} ">
                <a href="{{ url('record') }}" class="nav-link ">
                    <i class="icon-trophy" aria-hidden="true"></i>
                    <span class="title">Record académico</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('reportesnotas*') ? 'active' : '') }} {{ (Request::is('reportesnotas*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Reportes de notas</span>
                    <span class="arrow {{ (Request::is('reportesnotas*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('alumnos') ? 'active' : '') }} {{ (Request::is('alumnos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesnotas/alumnos') }}" class="nav-link ">
                            <span class="title">Notas de alumnos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('cursos') ? 'active' : '') }} {{ (Request::is('cursos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesnotas/cursos') }}" class="nav-link ">
                            <span class="title">Notas por curso</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('reporteavanzado') ? 'active' : '') }} {{ (Request::is('reporteavanzado') ? 'open' : '') }} ">
                        <a href="{{ url('reportesnotas/reporteavanzado') }}" class="nav-link ">
                            <span class="title">Reporte avanzado de notas </span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Profesor'))
            <li class="nav-item start {{ (Request::is('miscursos') ? 'active' : '') }} ">
                <a href="{{ url('miscursos') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Reporte de notas</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Alumno'))
            <li class="nav-item start {{ (Request::is('misnotas') ? 'active' : '') }} ">
                <a href="{{ url('misnotas') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Mi reporte de notas</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('situacionacademica') ? 'active' : '') }} ">
                <a href="{{ url('situacionacademica') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Mi situación académica</span>
                </a>
            </li>
        @endif

        @if(Auth::user()->hasRole('Administrador'))
            <li class="nav-item start {{ (Request::is('reportesestadisticos*') ? 'active' : '') }} {{ (Request::is('reportesestadisticos*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="icon-graph"></i>
                    <span class="title">Reportes estadísticos</span>
                    <span class="arrow {{ (Request::is('reportesestadisticos*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*reportesestadisticos') ? 'active' : '') }} {{ (Request::is('*reportesestadisticos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/situacionacademica') }}" class="nav-link ">
                            <span class="title"> Rendimiento académico de alumnos </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*reportesestadisticos') ? 'active' : '') }} {{ (Request::is('*reportesestadisticos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/alumnos') }}" class="nav-link ">
                            <span class="title"> Alumnos </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*asistencia') ? 'active' : '') }} {{ (Request::is('*asistencia') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/asistencia') }}" class="nav-link ">
                            <span class="title"> Asistencia </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*tramites') ? 'active' : '') }} {{ (Request::is('*tramites') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/tramites') }}" class="nav-link ">
                            <span class="title"> Tramites </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*bolsatrabajo') ? 'active' : '') }} {{ (Request::is('*bolsatrabajo') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/bolsatrabajo') }}" class="nav-link ">
                            <span class="title"> Inserción laboral </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('encuestas') ? 'active' : '') }} {{ (Request::is('encuestas') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/encuestas') }}" class="nav-link ">
                            <span class="title"> Encuestas </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('titulados') ? 'active' : '') }} {{ (Request::is('titulados') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/titulados') }}" class="nav-link ">
                            <span class="title"> Titulados </span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('eventos') ? 'active' : '') }} {{ (Request::is('eventos') ? 'open' : '') }} ">
                        <a href="{{ url('reportesestadisticos/eventos') }}" class="nav-link ">
                            <span class="title"> Eventos </span>
                        </a>
                    </li>
                </ul>
            </li>
            <li class="nav-item start {{ (Request::is('reportetesoreria*') ? 'active' : '') }} {{ (Request::is('reportetesoreria*') ? 'open' : '') }}">
                <a href="javascript:;" class="nav-link nav-toggle">
                    <i class="glyphicon glyphicon-list-alt"></i>
                    <span class="title">Reportes de tesorería</span>
                    <span class="arrow {{ (Request::is('reportetesoreria*') ? 'open' : '') }}"></span>
                </a>
                <ul class="sub-menu">
                    <li class="nav-item {{ (Request::is('*deudores') ? 'active' : '') }} {{ (Request::is('*deudores') ? 'open' : '') }} ">
                        <a href="{{ url('reportetesoreria/deudores') }}" class="nav-link ">
                            <span class="title">Reporte de Deudores</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('ingresotupa') ? 'active' : '') }} {{ (Request::is('ingresotupa') ? 'open' : '') }} ">
                        <a href="{{ url('reportetesoreria/ingresotupa') }}" class="nav-link ">
                            <span class="title">Reporte de ingreso por TUPA</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*pagos') ? 'active' : '') }} {{ (Request::is('*pagos') ? 'open' : '') }} ">
                        <a href="{{ url('reportetesoreria/pagos') }}" class="nav-link ">
                            <span class="title">Reporte de Pagos</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*boletasanuladas') ? 'active' : '') }} {{ (Request::is('*boletasanuladas') ? 'open' : '') }} ">
                        <a href="{{ url('reportetesoreria/boletasanuladas') }}" class="nav-link ">
                            <span class="title">Reporte de boletas anuladas</span>
                        </a>
                    </li>
                    <li class="nav-item {{ (Request::is('*cierredeturno') ? 'active' : '') }} {{ (Request::is('*cierredeturno') ? 'open' : '') }} ">
                        <a href="{{ url('reportetesoreria/cierredeturno') }}" class="nav-link ">
                            <span class="title">Reporte general de cierre de turno</span>
                        </a>
                    </li>
                </ul>
            </li>
        @endif

        @if(Auth::user()->hasRole('Apoderado'))
            <li class="nav-item start {{ (Request::is('apoderado/situacionacademica*') ? 'active' : '') }} ">
                <a href="{{ url('apoderado/situacionacademica') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
                    <span class="title">Situaci&oacute;n acad&eacute;mica</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('apoderado/asistencia*') ? 'active' : '') }} ">
                <a href="{{ url('apoderado/asistencia') }}" class="nav-link ">
                    <i class="icon-hourglass" aria-hidden="true"></i>
                    <span class="title">Registro de Asistencia</span>
                </a>
            </li>
            <li class="nav-item start {{ (Request::is('apoderado/tramites*') ? 'active' : '') }} ">
                <a href="{{ url('apoderado/tramites') }}" class="nav-link ">
                    <i class="glyphicon glyphicon-list" aria-hidden="true"></i>
                    <span class="title">Historial de Tr&aacute;mites</span>
                </a>
            </li>
        @endif
    </ul>
</div>