{% include '@Projet/convention/part/part_convention_mecenat.html.twig' with {
convention: conventionMecenat,
permissionAccess: permissionAccess
} only %}
{% include '@Projet/convention/part/part_convention_sponsoring.html.twig' with {
convention: conventionSponsoring,
factures: factures,
permissionAccess: permissionAccess
} only %}
{% set conventionSigned = ('sign' in (convention.statut|lower)) or (convention.document is not null and 'sign' in (convention.document.statut|lower)) %}
{% if (convention.document is null or convention.document.statut == 'Créée') and convention.statut != 'En attente de validation des contreparties' %}
Personnaliser cette formule
{% endif %}
{% if convention.formule.flex and convention.statut == 'En attente de sélection des contreparties' %}
Sélectionner pour le partenaire
{% endif %}
{% if convention.statut == 'En attente de validation des contreparties' %}
Valider les contreparties
{% endif %}
{% if convention.formule.flex and conventionSigned and not convention.allowPartnerFlexEditAfterSignature %}
Autoriser la modification des contreparties
{% endif %}
{% if convention.formule.flex and conventionSigned and convention.allowPartnerFlexEditAfterSignature %}
Ne pas autoriser la modification des contreparties
{% endif %}
{% if convention.document is null %}
Éditer une convention
{% endif %}
Chargement de la formule...
{% if convention.document is not null %}
{{ convention.document.nom }}
Créé le {{ convention.document.createdAt | date('d/m/Y à H:i') }}
{% if convention.document.statut == 'Créée' or convention.document.statut == 'Éditée' %}
{% elseif convention.document.statut == 'En attente de signature' %}
{% else %}
{% endif %}