Etat | Désignation | Progression | Statut | Budget | Tâches | Fin revue | Fin revue | Désignation | Progression | Responsable | Suppleant | Nb jalons | Jalons | Budget | J/H | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% for place in workflow_marked_places(action) %} {{ workflow_metadata(action, 'title', place) ?: ''}} {% endfor %} |
{{ action.designation }}
AC-{{ action.id }} PROJ{{ action.projet.id | default("N/C") }}-{{ action.projet.designation | default("N/C") }} |
{{ action.responsable.firstname | default("N/C") }} {{ action.responsable.lastname | default("") }} {{ action.suppleant.firstname | default("N/C") }} {{ action.suppleant.lastname | default("") }} |
Progression : {{ action.progression | round | default("0") }}%
|
{% set statutaction = "" %} {% set statutclass = "" %} {% for jalon in action.jalonConnectActions %} {% if jalon.progression==100 %} {% set statutaction = "Terminé" %} {% set statutclass = "badge badge-success small" %} {% elseif jalon.progression == 0 and jalon.responsable is null %} {% set statutclass = "badge small" %} {% set statutaction = "Non démarré" %} {% elseif jalon.progression < 100 and jalon.daterevue > jalon.date %} {% set difference = date(jalon.daterevue).diff(date(jalon.date)) %} {% set leftDays = difference.days %} {% set statutclass = "badge badge-warning small" %} {% set statutaction = "En cours !" %} {% else %} {% set statutclass = "badge badge-primary small" %} {% set statutaction = "En cours" %} {% endif %} {% endfor %} {{ statutaction}} | {% set budget = 0 %} {% for b in action.jalonConnectActions %} {% set budget = budget + b.budget %} {% endfor %} {{ budget | number_format(0, '.', ' ') | default("") }} € | {{ action.jalonConnectActions | length }} |
{{ action.datefinrevue | date("d M Y") }}
{% set difference = date(action.datefinrevue ).diff(date(action.datefin)) %}
{% set delayDays = difference.days %}
{% if delayDays > 0 %} ({{ delayDays }} jours de retard){% endif %} |
{{ action.datefinrevue | date("d M Y") }} | {{ action.designation | default("N/C") }} | {{ action.progression | round | default("0") }}% | {{ action.responsable.firstname | default("") }} {{ action.responsable.lastname | default("") }} | {{ action.suppleant.firstname | default("") }} {{ action.suppleant.lastname | default("") }} | {{ action.jalonConnectActions | length }} | {% for jalon in action.jalonConnectActions %}
{{ jalon.date | date('M Y') }} {{ jalon.jalon | default('') }} {% endfor %} |
{% set sumbudget = 0 %} {% set sumbudgettot = action.budget + sumbudget %} {{ sumbudgettot }} | {% set sumetp = 0 %} {% set sumetptot = action.etp + sumetp %} {{ sumetptot }} | {{ action.publishedat | date("d/m/Y") }} |