<nav class="sidebar">
<div class="sidebar-content ">
<a class="sidebar-brand" href="{{ path('app_default') }}"><br>
<img src="{{ asset('images/logo.png') }}" style='width: 100%;'><br><br>
</a>
<ul class="sidebar-nav">
<li class="sidebar-item active">
<a class="sidebar-link" href="">
<span class="align-middle h4 text-white">DaitekeCRM</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_comun_proyecto_index') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book align-middle me-2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
<span class="align-middle">{{ 'menu.proyectos'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_comun_proyecto_index_finalizados') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book align-middle me-2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
<span class="align-middle">{{ 'menu.proyectosfinalizados'|trans }}</span>
</a>
</li>
{% if "ROLE_EMPLEADA" in app.user.roles or "ROLE_ADMIN" in app.user.roles %}
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_comun_tarea_kanban') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock align-middle me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
<span class="align-middle">{{ 'menu.tareas'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a data-toggle="collapse" class="sidebar-link collapsed" href="#fichajesmenu">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-disc align-middle me-2"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle></svg>
<span class="align-middle">{{ 'menu.fichajes'|trans }}</span>
</a>
<ul id="fichajesmenu" class="sidebar-dropdown list-unstyled collapse ">
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_comun_fichaje_diario_index') }}">
<span class="align-middle">{{ 'menu.fichajesDiarios'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_fichaje_index') }}">
<span class="align-middle">{{ 'menu.fichajesPorTarea'|trans }}</span>
</a>
</li>
</ul>
</li>
<li class="sidebar-item">
<a data-toggle="collapse" class="sidebar-link collapsed" href="#accionesmenu">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-activity align-middle me-2"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>
<span class="align-middle">{{ 'menu.acciones'|trans }}</span>
</a>
<ul id="accionesmenu" class="sidebar-dropdown list-unstyled collapse ">
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_relacion_index') }}">
<span class="align-middle">{{ 'menu.esquema'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_reunion_index') }}">
<span class="align-middle">{{ 'menu.reuniones'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_llamada_index') }}">
<span class="align-middle">{{ 'menu.llamadas'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_email_index') }}">
<span class="align-middle">{{ 'menu.emails'|trans }}</span>
</a>
</li>
</ul>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_admin_cliente_index') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
<span class="align-middle">{{ 'menu.clientes'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_festivo_index') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
<span class="align-middle">{{ 'festivo.titulo'|trans }}</span>
</a>
</li>
<br>
{% endif %}
{% if "ROLE_ADMIN" in app.user.roles %}
<li class="sidebar-item active">
<a class="sidebar-link" href="#">
<span class="align-middle h4 text-white">{{ 'menu.administracion'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_mf_main') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search align-middle mr-2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
<span class="align-middle">{{ 'menu.busqueda'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_admin_excel_empleadas') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download align-middle mr-2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>
<span class="align-middle">{{ 'menu.excelFichajes'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a data-toggle="collapse" class="sidebar-link collapsed" href="#empleadamenu">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users align-middle me-2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
<span class="align-middle">{{ 'menu.empleadas'|trans }}</span>
</a>
<ul id="empleadamenu" class="sidebar-dropdown list-unstyled collapse ">
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_admin_empleada_index') }}">
<span> {{ ('menu.empleadas'|trans) }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_admin_rango_salarial_index') }}">
<span class="align-middle">{{ 'menu.rangosSalariales'|trans }}</span>
</a>
</li>
</ul>
</li>
<li class="sidebar-item">
<a data-toggle="collapse" class="sidebar-link collapsed" href="#clientesmenu">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2 align-middle me-2"><line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line></svg>
<span class="align-middle">{{ 'menu.clientes'|trans }}</span>
</a>
<ul id="clientesmenu" class="sidebar-dropdown list-unstyled collapse ">
<li class="sidebar-item"> <a class="sidebar-link" href="{{ path("app_admin_tipo_cliente_index") }}">
{{ 'menu.tipoClientes'|trans }}
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path("app_admin_sector_index") }}">
{{ 'menu.sectores'|trans }}</a></li>
</ul>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_admin_proveedor_index') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-target align-middle me-2"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle></svg>
<span class="align-middle">{{ 'menu.proveedores'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path("app_accesos_usuario_index") }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-plus align-middle me-2"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line></svg>
{{ 'menu.usuarios'|trans }}</a>
</li>
<li class="sidebar-item">
<a data-toggle="collapse" class="sidebar-link collapsed" href="#opciones">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings align-middle me-2"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>
<span class="align-middle">{{ 'menu.otrosDatos'|trans }}</span>
</a>
<ul id="opciones" class="sidebar-dropdown list-unstyled collapse ">
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path('app_admin_area_index') }}">
<span class="align-middle">{{ 'menu.areas'|trans }}</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ path("app_admin_localidad_index") }}">
<span class="align-middle"> {{ 'menu.localidades'|trans }}</span>
</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path("app_admin_globales_index") }}">
<span class="align-middle"> {{ 'menu.globales'|trans }}</span>
</a>
</li>
</ul>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_festivo_admin') }}">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
<span class="align-middle">{{ 'festivo.titulo'|trans }}</span>
</a>
</li>
{% endif %}
</ul>
</div>
</nav>