{% for place in workflow_marked_places(program) %}
{{ workflow_metadata(program, 'title', place) ?: ''}}
{% endfor %}
|
{{ program.designation }}
PROG-{{ program.id }} {{ program.code }}
|
{% set sumratings = 0 %}
{% for projet in program.projets %}
{% for action in projet.actions if action.id is defined %} {% set sumratings = sumratings + action.progression %}
{% endfor %}
{% if projet.actions|length >0 %}
{% set sumratings = sumratings / projet.actions|length %}
{% endif %}
{% endfor %}
Progression : {{ sumratings | number_format(0, '.', ' ') }}%
|
{{ program.projets | length }} projet{% if program.projets | length > 1 %}s{% endif %}
|
{{ program.metier.code | default("N/C") }} - {{ program.responsable.firstname | default("") }} {{ program.responsable.lastname | default("N/C") }}
|
|