{% if action == "add" %} {% trans %}Nouvel Enregistrement{% endtrans %} {% else %} {% trans %}Modifier Enregistrement{% endtrans %} {% endif %}
{{ include('GRH/processRH/action.html.twig') }}
{% if show_details %}
{{ selected_process.name }}
{% if app.user and is_granted('ROLE_SUPPRIMER_PROCESS_RH') %}
{% endif %}
{% if app.user and is_granted('ROLE_MODIFIER_PROCESS_RH') %}
{% endif %}
{% if app.user and not organigrammes|length and is_granted('ROLE_AJOUTER_ORGANIGRAMME_RH') %}
{{ include('GRH/processRH/modals/add_First_Bloc.html.twig') }}
{% endif %}
{% if app.user and is_granted('ROLE_ACTIVER_DESACTIVER_PROCESS_RH') and organigrammes|length and selected_process.isActif == true %}
{{ include('GRH/processRH/modals/desactivate_process.html.twig') }}
{% endif %}
{% if app.user and is_granted('ROLE_ACTIVER_DESACTIVER_PROCESS_RH') and organigrammes|length and selected_process.isActif == false %}
{{ include('GRH/processRH/modals/activate_process.html.twig') }}
{% endif %}
{% else %}
{% trans %}Aucun processus sélectionné{% endtrans %} !
{% endif %}
{{ include('GRH/processRH/tabs/organigramme.html.twig') }} {{ include('GRH/processRH/modals/add_Bloc.html.twig') }} {{ include('GRH/processRH/modals/edit_Bloc.html.twig') }} {{ include('GRH/processRH/modals/delete_Bloc.html.twig') }}
{{ include('GRH/processRH/tabs/organigramme.html.twig') }} {{ include('GRH/processRH/modals/add_Bloc.html.twig') }} {{ include('GRH/processRH/modals/edit_Bloc.html.twig') }} {{ include('GRH/processRH/modals/delete_Bloc.html.twig') }}