{% if is_granted('ROLE_ADMIN') %}
{{ include('blog/myactions.html.twig') }}

CARTOGRAPHIE DES PROCESSUS

Tracking des événements
{#

Tableaux de bord

#}
{#

EVALUATION DES RISQUES

Indice général de risque

{% set sumratings = 0 %} {% for risque in allrisques %} {% set sumratings = sumratings + risque.impact * risque.probabilite %} {% endfor %} {% if risques|length > 0 %} {% set sumratings = sumratings / allrisques|length %} {% endif %} {{ sumratings | round(2) }} / 100

{#
#}
{#

CONTINUITE DES ACTIVITES

{% for metier in metiers %}
{% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact4h is not null %} {% set minimpact = activite.impact4h.code %}{% set minimpact = min(activite.impact4h.code, minimpact) %} {% if activite.impact4h.code == minimpact %}{% set colorimpact = activite.impact4h.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1j is not null %} {% set minimpact = activite.impact1J.code %}{% set minimpact = min(activite.impact1j.code, minimpact) %} {% if activite.impact1j.code == minimpact %}{% set colorimpact = activite.impact1j.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact3j is not null %} {% set minimpact = activite.impact3j.code %}{% set minimpact = min(activite.impact3j.code, minimpact) %} {% if activite.impact3j.code == minimpact %}{% set colorimpact = activite.impact3j.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1s is not null %} {% set minimpact = activite.impact1s.code %}{% set minimpact = min(activite.impact1s.code, minimpact) %} {% if activite.impact1s.code == minimpact %}{% set colorimpact = activite.impact1s.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact2s is not null %} {% set minimpact = activite.impact2s.code %}{% set minimpact = min(activite.impact2s.code, minimpact) %} {% if activite.impact2s.code == minimpact %}{% set colorimpact = activite.impact2s.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1m is not null %} {% set minimpact = activite.impact1m.code %}{% set minimpact = min(activite.impact1m.code, minimpact) %} {% if activite.impact1m.code == minimpact %}{% set colorimpact = activite.impact1m.color %} {% endif %} {% endfor %} {% endfor %} {% endfor %}
Métiers / Fonctions 4 heures 1 jour 3 jours 1 semaine 2 semaines 1 mois
{{ metier.code | default("") }}
#} {#

PORTFOLIO PROJETS

{% for projet in allprojets %} {% endfor %}
Projet Outlook Pilote Progression
{{ projet.code | default("") }}
{{ projet.designation | default("N/C") }}
{% set maxValue3 = 0 %} {% for action in actions %} {%if action.projet == projet %} {% if action.datefinrevue is defined and action.datefinrevue is not null %} {% set maxValue3 = max(action.datefinrevue|date("Y-m-d"), maxValue3) %} {% endif %} {% endif %} {% endfor %} {{ maxValue3 }} {{ projet.pilote.firstname | default("") }} {{ projet.pilote.lastname | default("") }} ({{ projet.metier.code | default("N/C") }}) {% set sumratings = 0 %} {% 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 %} {{ sumratings | number_format(0, '.', ' ') }}%
{% for action in actions %} {% endfor %}
Action Outlook Pilote Progression
{{ action.designation | default("N/C") }} {{ action.datefinrevue|date("d m Y") }} {{ action.responsable.firstname | default("N/C") }} {{ action.responsable.lastname | default("N/C") }} {{ action.progression | default("0") }}%
{% if actions|length == 0 %} Pas de données {% endif %}
1 programme {% set sumratings = 0 %} {% for action in actions %} {% set sumratings = sumratings + action.progression %} {% endfor %}
{% set sumratings = 0 %} {% for action in actions %} {% set sumratings = sumratings + action.progression %} {% endfor %} {%if actions|length > 0 %} {% set sumratings = sumratings / actions|length %} {% endif %} {{ sumratings | number_format(0, '.', ' ') }} % de progression estimée
{% set sum = 0 %} {% set complet = "" %} {% for action in actions %} {%if action.budget is not null %} {% set sum = action.budget + sum ?? 0 %} {% else %} {% set complet = "Incomplet" %} {% endif %} {% endfor %} {% set suma = 0 %} {% for jalon in jalons %} {%if jalon.budget is not null and jalon.fini ==1 %} {% set suma = jalon.budget + suma ?? 0 %} {% endif %} {% endfor %} (P) {{ sum | number_format(0, '.', ' ') }} € {{ complet }} - (C) {{ suma | number_format(0, '.', ' ') }} €
{% set sumj = 0 %} {% for action in actions %} {%if action.etp is not null %} {% set sumj = action.etp + sumj ?? 0 %} {% endif %} {% endfor %} {% set suma = 0 %} {% for jalon in jalons %} {%if jalon.etp is not null and jalon.fini ==1 %} {% set suma = jalon.etp + suma ?? 0 %} {% endif %} {% endfor %} (P) {{ sumj | number_format(0, '.', ' ') }} j/h - (C) {{ suma | number_format(0, '.', ' ') }} j/h
{{ projets|length }} projets
{{ actions|length }} actions
{% set count = 0 %} {% for action in actions %} {% for jalon in jalons if jalon.action == action %} {% set count = count + 1 %} {% endfor %} {% endfor %} {{ count }} jalons / livrables
#} {#

PORTFOLIO PROJETS

Tracking des actions
{{ "now"|date("D d M Y")}}

{% set sumratings = 0 %} {% for action in allactions %} {% set sumratings = sumratings + action.progression %} {% endfor %} {% if allactions|length > 0 %} {% set sumratings = sumratings / allactions|length %} {% endif %} {{ sumratings | number_format(0, '.', ' ') }} %

#} {#

REGLEMENT GENERAL SUR LA PROTECTION DES DONNEES

Liste des sites
Mise en conformité

74 %

Diagnostic {% set scoretot = "0" %} {% for flux in fluxes %} {% set score = "0" %} {% if flux.objetmetiers | length > 0 %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.responsable is defined %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.finalite is defined %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.expin | length > 0 or flux.expout | length > 0 %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.destin | length > 0 or flux.destext | length > 0 %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.fluxConnectActivites | length > 0 %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.applications | length > 0 %}{% set score = score + 10 %}{% set scoretot = scoretot + 10 %}{% endif %} {% if flux.periodicites | length > 0 %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% if flux.supports | length > 0 %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% if flux.dureeconservation is defined %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% if flux.dcpjuridique | length > 0 %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% if flux.personneconcerne | length > 0 %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% if flux.typetraitementrgpds | length > 0 %}{% set score = score + 5 %}{% set scoretot = scoretot + 5 %}{% endif %} {% endfor %} {% set scoretotfull = "0" %} {% for allflux in allfluxes %} {% set scorefull = "0" %} {% if allflux.objetmetiers | length > 0 %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.responsable is defined %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.finalite is defined %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.expin | length > 0 or allflux.expout | length > 0 %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.destin | length > 0 or allflux.destext | length > 0 %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.fluxConnectActivites | length > 0 %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.applications | length > 0 %}{% set scorefull = scorefull + 10 %}{% set scoretotfull = scoretotfull + 10 %}{% endif %} {% if allflux.periodicites | length > 0 %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% if allflux.supports | length > 0 %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% if allflux.dureeconservation is defined %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% if allflux.dcpjuridique | length > 0 %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% if allflux.personneconcerne | length > 0 %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% if allflux.typetraitementrgpds | length > 0 %}{% set scorefull = scorefull + 5 %}{% set scoretotfull = scoretotfull + 5 %}{% endif %} {% endfor %}

{% if fluxes | length > 0 %}{% set scoretotgal = scoretot / fluxes | length %}{{ scoretotgal| round | default("0") }} % {% else %}{% set scoretotgal = 0 %}Pas de données{% endif %} {% if is_granted('ROLE_ADMIN') == false %}({% set scoretotgalfull = scoretotfull / allfluxes | length %}{{ scoretotgalfull| round | default("0") }} %){% endif %}

Traitements sensibles
{% set handle = [] %}{% set count = 0 %} {% for flux in allfluxes if flux not in handle %} {% set dcpsensible = "Non" %} {% for om in flux.objetmetiers if om.dcpsensible.code is defined and om.dcpsensible.code==1 and flux not in handle %} {% set handle = handle|merge([flux]) %} {% set dcpsensible = "Oui" %} {% set count = count + 1 %} {% if count == 0 %}Il n'y a pas de traitement sensible{% endif %} {{ flux.designation }} {% endfor %} {% endfor %}
#}
{#

CONTINUITE DES ACTIVITES

{% for metier in metiers %}
{% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact4h is not null %} {% set minimpact = activite.impact4h.code %}{% set minimpact = min(activite.impact4h.code, minimpact) %} {% if activite.impact4h.code == minimpact %}{% set colorimpact = activite.impact4h.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1j is not null %} {% set minimpact = activite.impact1J.code %}{% set minimpact = min(activite.impact1j.code, minimpact) %} {% if activite.impact1j.code == minimpact %}{% set colorimpact = activite.impact1j.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact3j is not null %} {% set minimpact = activite.impact3j.code %}{% set minimpact = min(activite.impact3j.code, minimpact) %} {% if activite.impact3j.code == minimpact %}{% set colorimpact = activite.impact3j.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1s is not null %} {% set minimpact = activite.impact1s.code %}{% set minimpact = min(activite.impact1s.code, minimpact) %} {% if activite.impact1s.code == minimpact %}{% set colorimpact = activite.impact1s.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact2s is not null %} {% set minimpact = activite.impact2s.code %}{% set minimpact = min(activite.impact2s.code, minimpact) %} {% if activite.impact2s.code == minimpact %}{% set colorimpact = activite.impact2s.color %} {% endif %} {% endfor %} {% endfor %} {% set minimpact = "" %}{% set colorimpact = "" %} {% for processus in metier.processuses %} {% for activite in processus.activites if activite.impact1m is not null %} {% set minimpact = activite.impact1m.code %}{% set minimpact = min(activite.impact1m.code, minimpact) %} {% if activite.impact1m.code == minimpact %}{% set colorimpact = activite.impact1m.color %} {% endif %} {% endfor %} {% endfor %} {% endfor %}
Métiers / Fonctions 4 heures 1 jour 3 jours 1 semaine 2 semaines 1 mois
{{ metier.code | default("") }}
#}
{% endif %}