{% extends 'base.html.twig' %} {% block title %} {% trans %}COSAP - Configuration du Congés{% endtrans %} {% endblock %} {% block body %} {{ parent() }}
{% if action == "edit_solde" %}
Modifier enregistrement

{{ include('ParametrageConge/configurationConge/action_config_solde.html.twig') }}
{% endif %}
Configuration des soldes de congés
{% if not config_solde|length %} {% else %}
{% if app.user and is_granted('ROLE_MODIFIER_CONFIGURATION_SOLDE_CONGE') %} {% endif %} {% for solde in config_solde %} {% if app.user and is_granted('ROLE_MODIFIER_CONFIGURATION_SOLDE_CONGE') %} {% endif %} {% endfor %}
Solde Mise à jourActions
{{ solde.solde }} {% if solde.solde <= 1 %} jour {% else %} jours {% endif %} {% if solde.typeUpdate is not null %} {{ solde.ValueTypeUpdate }} {% endif %}
{% endif %}
{% if action == "edit_validity" %}
Modifier enregistrement

{{ include('ParametrageConge/configurationConge/action_validity_solde.html.twig') }}
{% endif %}
Validation des soldes de congés annuels
{% if not validity_solde|length %} {% else %}
{% if app.user and is_granted('ROLE_MODIFIER_CONFIGURATION_SOLDE_CONGE') %} {% endif %} {% for solde in validity_solde %} {% if app.user and is_granted('ROLE_MODIFIER_CONFIGURATION_SOLDE_CONGE') %} {% endif %} {% endfor %}
Validité Durée de validitéActions
{% if solde.statut is not null %}{{ solde.valueStatut }}{% endif %} {% if solde.statut == "S01" %} Non définie {% else %} {{ solde.duree }} {% if solde.duree <= 1 %} an {% else %} ans {% endif %} {% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% include('ParametrageConge/configurationConge/ajax/change_statut_validity.html.twig') %} {% endblock %}