<div class="navbar-content">
<!-- start: SIDEBAR -->
<div class="main-navigation navbar-collapse collapse">
<!-- start: MAIN MENU TOGGLER BUTTON -->
{#<div class="navigation-toggler">#}
{#<i class="clip-chevron-left"></i>#}
{#<i class="clip-chevron-right"></i>#}
{#</div>#}
<!-- end: MAIN MENU TOGGLER BUTTON -->
<!-- start: MAIN NAVIGATION MENU -->
<ul class="main-navigation-menu">
<li class="{% if app.request.attributes.get('_route') == 'homepage'%}active open{% endif %}">
<!--active open-->
<a href="{{ path('homepage') }}">
<i class="clip-home-3"></i>
<span class="title"> Accueil </span>
</a>
</li>
<!-- administration -->
{% if is_granted('ROLE_ADMIN') %}
<li class="{% if app.request.attributes.get('_route') in ['company_index', 'user_index','app_parameter_index'] %}open{% endif %}">
<a href="javascript:void(0)">
<i class="clip-screen"></i>
<span class="title"> Administration </span>
</a>
<ul class="sub-menu" style="{% if app.request.attributes.get('_route') in ['company_index', 'user_index','app_parameter_index'] %}display:block{% endif %}">
<li class="{% if app.request.attributes.get('_route') in ['company_index'] %}open{% endif %}">
<a href="{{ path('company_index') }}">
<span class="title">Sociétés </span>
</a>
</li>
<li class="{% if app.request.attributes.get('_route') in ['user_index'] %}open{% endif %}">
<a href="{{ path('user_index') }}" class="close-sidebar-left">
<span class="title">Habilitations </span>
</a>
</li>
<li class="{% if app.request.attributes.get('_route') in ['app_parameter_index'] %}open{% endif %}">
<a href="{{ path('app_parameter_index') }}" class="set-boxed-layout">
<span class="title"> Paramètres </span>
</a>
</li>
</ul>
</li>
{% endif %}
<!-- Donnéeqs -->
<li class="{% if 'site_' in app.request.attributes.get('_route')
or 'salon_' in app.request.attributes.get('_route')
or 'client_' in app.request.attributes.get('_route')
or 'product_' in app.request.attributes.get('_route')
or (
'intervenant_' in app.request.attributes.get('_route') and 'app_planning_intervenant' != app.request.attributes.get('_route')
)
%}open
{% endif %}
">
<a href="javascript:void(0)">
<i class="clip-screen"></i>
<span class="title"> Données </span>
<span class="selected"></span>
</a>
<ul class="sub-menu"
style="{% if 'site_' in app.request.attributes.get('_route')
or 'salon_' in app.request.attributes.get('_route')
or 'client_' in app.request.attributes.get('_route')
or 'product_' in app.request.attributes.get('_route')
or 'intervenant' in app.request.attributes.get('_route')%}display:block
{% endif %}
">
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li class="{% if 'site_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="javascript:void(0)">
<span class="title">Sites </span>
</a>
<ul class="sub-menu" style="{% if 'site_' in app.request.attributes.get('_route')%}display:block{% endif %}">
<li class="active">
<a href="{{ path('site_index') }}">
Consultation
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('site_new') }}">
Nouveau
</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') or is_granted('ROLE_COIFFEUR') %}
<li class="{% if 'salon_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="#" class="close-sidebar-left">
<span class="title">Salons </span>
</a>
<ul class="sub-menu" style="{% if 'salon_' in app.request.attributes.get('_route')%}display:block{% endif %}">
<li>
<a href="{{ path('salon_index') }}">
Consultation
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('salon_new') }}">
Nouveau
</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
<!-- clients -->
<li class="{% if 'client_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="#" class="set-boxed-layout">
<span class="title"> Clients </span>
</a>
<ul class="sub-menu">
<li>
<a href="{{ path('client_index') }}">
Consultation
</a>
</li>
<li>
<a href="{{ path('client_new') }}">
Nouveau
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('client_import') }}">
Importation
</a>
</li>
<li>
<a href="{{ path('client_importContract') }}">
Importation Contract
</a>
</li>
{% endif %}
</ul>
</li>
<!-- intervenants -->
<li class="{% if 'client_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="{{ path('site_annuaire') }}" class="set-boxed-layout">
<span class="title"> Annuaire site </span>
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li class="{% if 'intervenant_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="#" class="set-boxed-layout">
<span class="title"> Intervenants </span>
</a>
<ul class="sub-menu" style="{% if 'intervenant_' in app.request.attributes.get('_route')%}display:block{% endif %}">
<li>
<a href="{{ path('intervenant_index') }}">
Consultation
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('intervenant_new') }}">
Nouveau
</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
<!-- produits -->
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') or is_granted('ROLE_COIFFEUR') %}
<li class="{% if 'product_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="#" class="set-boxed-layout">
<span class="title"> Produits </span>
</a>
<ul class="sub-menu" style="{% if 'product_' in app.request.attributes.get('_route')%}display:block{% endif %}">
<li>
<a href="{{ path('product_index') }}">
Consultation
</a>
</li>
{% if is_granted('ROLE_ADMIN')or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('product_new') }}">
Nouveau
</a>
</li>
<li>
<a href="{{ path('product_famille') }}">
Famille de produits
</a>
</li>
<li>
<a href="{{ path('product_import') }}">
Import
</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
<li>
<a href="{{ path('app_promo_code') }}">
Code promo
</a>
</li>
</ul>
</li>
<!-- planning -->
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') or is_granted('ROLE_COIFFEUR') or is_granted('ROLE_TELECONSEILER') %}
<li class="{% if 'planning_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="javascript:void(0)">
<i class="clip-screen"></i>
<span class="title"> Planning </span>
<span class="selected"></span>
</a>
<ul class="sub-menu" style="{% if 'planning_' in app.request.attributes.get('_route')%}display:block{% endif %}">
<li>
{# <a href="{{ path('app_planning_site') }}" class="{% if 'app_planning_site' == app.request.attributes.get('_route') %}open{% endif %}">#}
{# <span class="title">Planning Clients </span>#}
{# </a>#}
{#<ul class="sub-menu" style="{% if 'planning_' in app.request.attributes.get('_route')%}display:block{% endif %}">#}
{#<li>#}
{#<a href="{{ path('app_planning_site') }}" class="{% if 'app_planning_site' == app.request.attributes.get('_route') %}open{% endif %}">#}
{#Par site#}
{#</a>#}
{#</li>#}
{#<li>#}
{#<a href="{{ path('app_planning_site') }}" class="{% if 'app_planning_intervenant' == app.request.attributes.get('_route') %}open{% endif %}">#}
{#Par intervenant#}
{#</a>#}
{#</li>#}
{#</ul>#}
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_planning_liste') }}" class="{% if 'app_planning_liste' == app.request.attributes.get('_route') %}open{% endif %}">
Gestion Fiches RDV BO
</a>
</li>
{% endif %}
<li>
<a href="{{ path('app_planning_coiffeurliste') }}" class="{% if 'app_planning_coiffeurliste' == app.request.attributes.get('_route') %}open{% endif %}">
Gestion Fiches RDV
</a>
</li>
<li>
<a href="{{ path('app_planning_pilotage') }}" class="{% if 'app_planning_pilotage' == app.request.attributes.get('_route') %}open{% endif %}">
<span class="title">Planning d'exploitation </span>
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_planning_liste_bo') }}" class="{% if 'app_planning_liste_bo' == app.request.attributes.get('_route') %}open{% endif %}">
Planning d'exploitation BO
</a>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_planning_calendrier') }}" class="{% if 'app_planning_calendrier' == app.request.attributes.get('_route') %}open{% endif %}">
Calendrier exploitation
</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
<!-- exploitation -->
<li class="{% if 'billing_' in app.request.attributes.get('_route') %}open{% endif %}">
<a href="javascript:void(0)">
<i class="clip-screen"></i>
<span class="title"> Exploitation </span>
<span class="selected"></span>
</a>
<ul class="sub-menu" style="{% if 'billing_' in app.request.attributes.get('_route') or 'reglement_' in app.request.attributes.get('_route') %}display:block{% endif %}">
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_billing_index') }}" class="{% if 'app_billing_index' == app.request.attributes.get('_route') %}open{% endif %}">
<span class="title">Gestion des factures </span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BO') or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_reglement_index') }}" class="{% if 'app_reglement_index' == app.request.attributes.get('_route') %}open{% endif %}">
<span class="title">Gestion des règlements </span>
</a>
</li>
{% endif %}
<li>
<a href="#" class="set-boxed-layout">
<span class="title"> RH </span>
</a>
<ul class="sub-menu">
{% if is_granted('ROLE_ADMIN')or is_granted('ROLE_ADMINISTRATIVE') %}
<li>
<a href="{{ path('app_exploitation_index') }}">
<span class="title">Gestion RH </span>
</a>
</li>
{% endif %}
<li>
<a href="https://rh.silae.fr/login" target="_blank">
<span class="title">Silae RH</span>
</a>
</li>
<li>
<a href="https://docs.google.com/spreadsheets/d/1aLxRc0F8C_crhn66XzZH71XzFY47gYI3Ix-WUGcfGDA/edit#gid=0" target="_blank">
<span class="title">Note de frais KM</span>
</a>
</li>
</ul>
</li>
<li>
<a href="https://docs.google.com/spreadsheets/d/1Pk8zZRUvXVMugh_BAdZVgcn-PIal-3-17GE7Kug4iQQ/edit#gid=0" target="_blank">
<span class="title">Stocks </span>
</a>
</li>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_ADMINISTRATIVE') or is_granted('ROLE_BO') %}
<li>
<a href="{{ path('app_reporting_index') }}">
<span class="title">Reportings</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<li>
<a href="{{ path('app_export_index') }}">
<span class="title">Exports en compta</span>
</a>
</li>
{% endif %}
<li>
<a href="#" class="set-boxed-layout">
<span class="title"> Commandes </span>
</a>
<ul class="sub-menu">
<li>
<a href="https://fr.lorealpartnershop.com" target="_blank">
<span class="title">L'Oréal</span>
</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- marketing -->
<li>
<a href="javascript:void(0)">
<i class="clip-screen"></i>
<span class="title"> Marketing </span>
<span class="selected"></span>
</a>
<ul class="sub-menu">
</ul>
</li>
</ul>
<!-- end: MAIN NAVIGATION MENU -->
</div>
<!-- end: SIDEBAR -->
</div>