{% extends 'AppBundle:Documents:v2\\Administrative\\F6_delegation_of_responsability.html.twig' %}
{% block style %}
{{ parent() }}
{% endblock %}
{% block header %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\image.html.twig' with {'image': headerData.logo, 'containerImgHeight': 160} %}
|
{% endblock header %}
{% block main_title %}
{{ titleTemplate|upper }}
|
{% endblock main_title %}
{% block content %}
{% for key,items in data %}
|
|
{{ key|trans({}, 'DocumentTrans' ) }}
|
|
|
{% for k,v in items %}
{% set array = {} %}
{% for i,j in v %}
{% if j.value is not null %}
{% if j is iterable %}
{% set array = array|merge({0: j.label|trans({}, 'DocumentTrans' ) ~ ' : ' ~ j.value }) %}
{% else %}
{% set array = {0: v.title|trans({}, 'DocumentTrans' ) ~ ' : ' } %}
{% endif %}
{% endif %}
{% endfor %}
{% for i in 0..array|length %}
{% set cptFirstTd = i+i %}
{% set cptSecondTd = i+i +1 %}
{% set classContent = v.class is defined and v.class is not null ? classSpecif : class %}
{% if array[cptFirstTd] is defined %}
{{ array[cptFirstTd] }} |
{% endif %}
{% if array[cptSecondTd] is defined %}
{{ array[cptSecondTd] }} |
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
1 . {{ groupData.parentGroup }} {% if groupData.parentGroup is empty %} {% endif %} {{ 'delegation.engagement.content_1'|trans({}, 'DocumentTrans' ) }} {{ groupData.corporateName }} {{ 'delegation.engagement.content_2'|trans({}, 'DocumentTrans' ) }}
2 . {{ groupData.parentGroup }} {% if groupData.parentGroup is empty %} {% endif %} {{ 'delegation.engagement.content_1'|trans({}, 'DocumentTrans' ) }} {{ groupData.corporateName }} {{ 'delegation.engagement.content_3'|trans({}, 'DocumentTrans' ) }}
3 . {{ 'delegation.engagement.content_4'|trans({}, 'DocumentTrans' ) }} {{ groupData.parentGroup }} {% if groupData.parentGroup is empty %} {% endif %} {{ 'delegation.engagement.content_1'|trans({}, 'DocumentTrans' ) }} {{ groupData.corporateName }}
{{ 'delegation.engagement.content_5'|trans({}, 'DocumentTrans' ) }} {{ groupData.parentGroup }} {% if groupData.parentGroup is empty %} {% endif %} {{ 'delegation.engagement.content_1'|trans({}, 'DocumentTrans' ) }} {{ groupData.corporateName }}
{{ 'delegation.engagement.content_6'|trans({}, 'DocumentTrans' ) }}
{% endblock content %}
{% block signature %}
{% include "AppBundle:Documents:v2\\Include\\Administrative\\simple_signature.html.twig" with {
'signatureDate' : 'now'|date('d/m/Y'),
'titleBlock': false
} %}
{% endblock signature %}
{% block footer %}
{% endblock footer %}