<aside class="admin-sidebar">
<div class="admin-sidebar-brand">
<!-- begin sidebar branding-->
<img class="admin-brand-logo" src="{{ asset('/assets/img/dataplusrh.png') }}" width="40" alt="atmos Logo">
<!-- end sidebar branding-->
</div>
<div class="admin-sidebar-wrapper js-scrollbar">
<ul class="menu">
{% if is_granted('ROLE_MANAGER') %}
{% if is_granted('ROLE_DPO') %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_managers' %}active{% endif %}">
<a href="{{ path('manager_managers') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Délégués
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-account-multiple "></i>
</span>
</a>
</li>
{% endif %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_users' %}active{% endif %}">
<a href="{{ path('manager_users') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Sociétés
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-office-building "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_documents' %}active{% endif %}">
<a href="{{ path('manager_documents') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Base documentaire
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-file-document-box-multiple "></i>
</span>
</a>
</li>
{% if is_granted('ROLE_DPO') %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_partners' %}active{% endif %}">
<a href="{{ path('manager_partners') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Partenaires
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-briefcase-account "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_infos' %}active{% endif %}">
<a href="{{ path('manager_infos') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Infos
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-newspaper "></i>
</span>
</a>
</li>
{% endif %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_systems' %}active{% endif %}">
<a href="{{ path('manager_systems') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Mesures techniques standards
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-sitemap "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_treatments' %}active{% endif %}">
<a href="{{ path('manager_treatments') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Traitements standards
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-database "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_subcontractors' %}active{% endif %}">
<a href="{{ path('manager_subcontractors') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Sous-traitants standards
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-account-multiple "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_actions' %}active{% endif %}">
<a href="{{ path('manager_actions') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Actions standards
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-map-legend "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_trainings' %}active{% endif %}">
<a href="{{ path('manager_trainings') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Questionnaires
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-newspaper "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'manager_current_subscriptions' %}active{% endif %}">
<a href="{{ path('manager_current_subscriptions') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">Abonnements
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-book-outline"></i>
</span>
</a>
</li>
{% else %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_homepage' %}active{% endif %}">
<a href="{{ path('user_homepage') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'tableau_de_bord'|trans }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-home "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_treatments' %}active{% endif %}">
<a href="{{ path('user_treatments') }}" class="open-dropdown menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'registre_des_traitements_menu'|trans|raw }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-database "></i>
</span>
</a>
<ul class="sub-menu">
<li class="menu-item">
<a href="{{ path('user_treatments') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'mes_traitements'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_treatments_add') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'crer_un_traitement'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_treatments_export') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'imprimer_mon_registre'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_treatments_export_xlsx') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'exporter_mon_registre'|trans }}
</span>
</span>
</a>
</li>
{% if app.user.user.mainGroupAgency %}
<li class="menu-item">
<a href="{{ path('user_treatments_std') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'traitements_standards'|trans }}
</span>
</span>
</a>
</li>
{% endif %}
{% if app.user.user.parentUser %}
<li class="menu-item">
<a href="{{ path('user_treatments_group') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'traitements_du_groupe'|trans }}
</span>
</span>
</a>
</li>
{% endif %}
</ul>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_subcontractors' %}active{% endif %}">
<a href="{{ path('user_data_processing') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'registre_des_soustraitants_menu'|trans|raw }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-account-multiple "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_incidents' %}active{% endif %}">
<a href="{{ path('user_incidents') }}" class="open-dropdown menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'registre_des_incidents_menu'|trans|raw }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-alert "></i>
</span>
</a>
<ul class="sub-menu">
<li class="menu-item">
<a href="{{ path('user_incidents') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'mes_incidents'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_incidents_add') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'dclarer_un_incident'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_incidents_export') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'imprimer_mon_registre'|trans }}
</span>
</span>
</a>
</li>
</ul>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_systems' %}active{% endif %}">
<a href="{{ path('user_systems') }}" class="open-dropdown menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'cartographie_du_systme_dinformation'|trans|raw }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-sitemap "></i>
</span>
</a>
<ul class="sub-menu">
<li class="menu-item">
<a href="{{ path('user_systems') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'mon_systme_dinformation'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_systems_export') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'imprimer_la_cartographie'|trans }}
</span>
</span>
</a>
</li>
{% if app.user.user.mainGroupAgency %}
<li class="menu-item">
<a href="{{ path('user_systems_group') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'cartographie_du_si_groupe'|trans }}
</span>
</span>
</a>
</li>
{% endif %}
{% if app.user.user.mainGroupAgency %}
<li class="menu-item">
<a href="{{ path('user_systems_group_export') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'imprimer_la_cartographie_groupe'|trans }}
</span>
</span>
</a>
</li>
{% endif %}
</ul>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_exercisingclaims' %}active{% endif %}">
<a href="{{ path('user_exercisingclaims') }}" class="open-dropdown menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'gestion_des_droits'|trans }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-account-settings"></i>
</span>
</a>
<ul class="sub-menu">
<li class="menu-item">
<a href="{{ path('user_exercisingclaims') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'mes_demandes_dexercices_des_droits'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_exercisingclaims_add') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'crer_une_demande'|trans }}
</span>
</span>
</a>
</li>
</ul>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_actions' %}active{% endif %}">
<a href="{{ path('user_actions') }}" class="open-dropdown menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'plan_dactions_menu'|trans|raw }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-map-legend "></i>
</span>
</a>
<ul class="sub-menu">
<li class="menu-item">
<a href="{{ path('user_actions') }}" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'mes_actions'|trans }}
</span>
</span>
</a>
</li>
<li class="menu-item">
<a href="{{ path('user_actions_export') }}" target="_blank" class=" menu-link">
<span class="menu-label">
<span class="menu-name">
{{ 'imprimer_mon_plan_dactions'|trans }}
</span>
</span>
</a>
</li>
</ul>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_documents' %}active{% endif %}">
<a href="{{ path('user_documents') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'base_documentaire'|trans }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-file-document-box-multiple "></i>
</span>
</a>
</li>
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_trainings' %}active{% endif %}">
<a href="{{ path('user_trainings') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'formation_des_quipes'|trans }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-newspaper "></i>
</span>
</a>
</li>
{% if app.user.user.childrenUsers|length %}
<li class="menu-item {% if app.request.attributes.get('_route') == 'user_users' %}active{% endif %}">
<a href="{{ path('user_users') }}" class="menu-link">
<span class="menu-label">
<span class="menu-name">{{ 'comptes_rattachs'|trans }}
</span>
</span>
<span class="menu-icon">
<i class="icon-placeholder mdi mdi-office-building "></i>
</span>
</a>
</li>
{% endif %}
<li class="menu-item mt-auto">
<div class="menu-link">
<a href="{{ path('user_account') }}" class="btn btn-secondary w-100 py-2">{{ 'mon_profil'|trans }}</a>
</div>
</li>
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<li class="menu-item mt-auto px-3">
<b><h5 class="mt-5">{{ app.user.user.companyName }}</h5></b>
<a href="{{ path('default_homepage') }}?_switch_user=_exit">
<div class="alert alert-warning fade show" role="alert">
Vous êtes actuellement substitué à ce compte client. <u>Cliquez ici pour retourner à votre compte</u>
</div>
</a>
</li>
{% endif %}
{% endif %}
</ul>
</div>
</aside>