{{ 'workflow.signature_zone.title'|trans }}

{% for s in signatures %}
{% if s.signerKind == 'person' %} {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with { action: 'show', displayBadge: true, targetEntity: { name: 'person', id: s.signer.id }, buttonText: s.signer|chill_entity_render_string, isDead: s.signer.deathDate is not null } %} {% else %} {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with { action: 'show', displayBadge: true, targetEntity: { name: 'user', id: s.signer.id }, buttonText: s.signer|chill_entity_render_string, } %} {% endif %}
{% if s.isSigned %} {{ 'workflow.signature_zone.has_signed_statement'|trans({ 'datetime' : s.stateDate }) }} {% else %} {% if is_granted('CHILL_MAIN_ENTITY_WORKFLOW_SIGNATURE_SIGN', s) %} {% else %} {{ 'workflow.waiting_for_signature'|trans }} {% endif %} {% endif %}
{% endfor %}