{% trans_default_domain 'pdf' %} {% macro children_render(children, formation, lesson, offset = 0, session = null) %} {% import _self as self %} {% for child in children %} {% set childType = getType(child) %} {% if isPhase(child) or childType == "App\\Entity\\Formation\\Exercise" or childType == "App\\Entity\\Formation\\ExerciseItem" %} {% if child.notation %} {% set notation = child.notation %} {% else %} {% if childType == 'App\\Entity\\Formation\\Exercise' %} {% set notation = formation.exercisesNotation %} {% elseif isPhase(child) %} {% set notation = formation.phasesNotation %} {% else %} {% set notation = formation.exerciseDecompositionNotation %} {% endif %} {% endif %} {% if session is not null %} {% set value = getChildrenValue(child, session) %} {% endif %} {% endif %}
{% if ratingValue.mediaValue is not empty %}
|
{% endfor %}
{% if ratingValue.mediaValue is not empty %}
|
{% endfor %}
{% if ratingValue.mediaValue is not empty %}
|
{% endfor %}
{% endif %} {% if session.lesson.goals %} | {% endif %} |
{{ session.lesson.name }}
{% if session.lesson.description %}
{{ session.lesson.description }}
{% endif %}
{% if session.lesson.goals %}
{{ session.lesson.goals }}
{% endif %}
|
{% if notation is defined and notation is not null %}
|
|||
---|---|---|---|---|
{{ skill.name }} ({{ (skill.type == "technical" ? "compétence technique" : skill.type == "non technical" ? "compétence non technique" : "compétence ni technique ni non technique")|trans }})
{% if skill.description %}
{{ skill.description }}
{% endif %}
|
{% if formation.skillsLessonNotation is defined and formation.skillsLessonNotation is not null %}
|
{% if formation.skillsLessonNotationReason is defined and formation.skillsLessonNotationReason is not null %}
{{ mapNotationReason(formation.skillsLessonNotationReason) }} | {% endif %}||
{{ detail.description }}
|
{% if formation.indicatorsLessonNotation is defined and formation.indicatorsLessonNotation is not null %}
|
{% if formation.indicatorsLessonNotationReason is defined and formation.indicatorsLessonNotationReason is not null %}
{{ mapNotationReason(formation.indicatorsLessonNotationReason) }} | {% endif %}
{{ session.lessonExtra.name }}
|
{% if notation is defined and notation is not null %}
|
---|
{{ additionalItem.formationItem.name }}
{% if additionalItem.formationItem.description %}
{{ additionalItem.formationItem.description }}
{% endif %}
{% if additionalItem.formationItem.goals %}
{{ additionalItem.formationItem.goals }}
{% endif %}
|
{% if notation is defined and notation is not null %}
{% for ratingValue in notation.ratingValues %}
{% if ratingValue.value is not empty %}
{% endfor %}
{{ ratingValue.value }}
|
{% else %}
{% endif %} |
---|