{# empty Twig template #} {% extends "@oderaScenario/Diagnostic/cell-template.html.twig" %} {% block id %}result{% endblock %} {% block name %}Score annuel{% endblock %} {% block result %} {% set count_adv = 0 %} {% for etude in scenario.etudes %} {% set count_adv = count_adv + 1 %} {% set id_adv = etude.adventice.id %}
{{etude.adventice.nom}}
{% if results['note_itk'][id_adv][id_itk] is not empty %} {% set note = results['note_itk'][id_adv][id_itk]['noteitk0']|round %} {% set note_parent = null %} {% if isEnfant and iditk_parent %} {% set note_parent = results_parent['note_itk'][id_adv][iditk_parent]['noteitk0']|round %} {% endif %} {% include "@oderaScenario/Diagnostic/cell-note.html.twig" %} {% endif %}
{% endfor %} {% endblock %}