{% extends 'basev2.html.twig' %} {% block stylesheets %} {% endblock %} {% block title %}PORTFOLIO MAPSI{% endblock %} {% block headertitle %} Pilotage {% endblock %} {% block headercreate %}
{% endblock %} {% block body %} {#
{{ include('datatable/programmetable.html.twig', {r : app.request.get('_route'), rr : conformite }) }}
{{ include('datatable/projettable.html.twig', {r : app.request.get('_route'), rr : conformite }) }}
{{ include('datatable/actiontable.html.twig', {r : app.request.get('_route'), rr : conformite }) }}
{{ include('datatable/tachetable.html.twig', {r : app.request.get('_route'), rr : conformite }) }}

MON PORTFOLIO {{ app.user.customer.designation }}

Vue {% if is_granted('ROLE_ADMIN') %} Administrateur {% else %} Membre {% endif %}

{% if is_granted('ROLE_ADMIN') == false %}{{ programs|length }}{% elseif is_granted('ROLE_ADMIN') %}{{ allprograms|length }}{% endif %} Programmes {% if is_granted('ROLE_ADMIN') == false %}({{ allprograms|length }}){% endif %} {% if is_granted('ROLE_ADMIN') == false %}{{ projets|length }}{% elseif is_granted('ROLE_ADMIN') %}{{ allprojets|length }}{% endif %} Projets {% if is_granted('ROLE_ADMIN') == false %}({{ allprojets|length }}){% endif %}
{% if is_granted('ROLE_ADMIN') == false %}{{ actions|length }}{% elseif is_granted('ROLE_ADMIN') %}{{ allactions|length }}{% endif %} Actions {% if is_granted('ROLE_ADMIN') == false %}({{ allactions|length }}){% endif %} {% set count = 0 %} {% for action in actions %} {% for jalon in jalons if jalon.action == action %} {% set count = count + 1 %} {% endfor %} {% endfor %} {% if is_granted('ROLE_ADMIN') == false %}{{ count }}{% elseif is_granted('ROLE_ADMIN') %}{{ jalons|length }}{% endif %} Jalons / Livrables {% if is_granted('ROLE_ADMIN') == false %}({{ jalons|length }}){% endif %}
{% set sum = 0 %} {% set complet = "" %} {% set suma = 0 %} {% for action in actions %} {%if action.budget is not null %} {% set sum = action.budget + sum ?? 0 %} {% else %} {% set complet = "Incomplet" %} {% endif %} {% for jalon in action.jalonConnectActions if action.responsable==app.user.people or action.suppleant==app.user.people %} {%if jalon.budget is not null and jalon.fini ==1 %} {% set suma = jalon.budget + suma ?? 0 %} {% endif %} {% endfor %} {% endfor %} (P) {{ sum | number_format(0, '.', ' ') }}€ - (C) {{ suma | number_format(0, '.', ' ') }}€
Budget
{% set sumj = 0 %} {% set sume = 0 %} {% for action in actions %} {%if action.etp is not null %} {% set sumj = action.etp + sumj ?? 0 %} {% endif %} {% for jalon in action.jalonConnectActions %} {%if jalon.etp is not null and jalon.fini ==1 %} {% set sume = jalon.etp + sume ?? 0 %} {% endif %} {% endfor %} {% endfor %} (P) {{ sumj | number_format(0, '.', ' ') }} j/h - (C) {{ sume | number_format(0, '.', ' ') }} j/h
Charge RH
{% if is_granted('ROLE_ADMIN')== false %}Ma{% endif %} Progression générale

{% 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, '.', ' ') }}%

Indicateurs clés (Globaux)
{{ allprograms|length }} programmes
{% 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, '.', ' ') }} % de progression estimée
{% set sum = 0 %} {% set complet = "" %} {% for action in allactions %} {%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 allactions %} {%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
{{ allprojets|length }} projets
{{ allactions|length }} actions
{% set count = 0 %} {% for action in allactions %} {% for jalon in jalons if jalon.action == action %} {% set count = count + 1 %} {% endfor %} {% endfor %} {{ count }} jalons / livrables
{% if is_granted('ROLE_ADMIN')==false %}
Mes indicateurs
{{ programs|length }} programmes
{% 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
{% endif %}
Projets par métier

Actions

Statut
{% for statut in statuts %} {% endfor %}
{{ statut.designation | default("N/C") }} {% set count = 0 %} {% for action in actions if action.statut == statut and action.archive is null %} {% set count = count + 1 %} {% endfor %} {{ count }}
Archivé (Hors calculs) {% set countz = 0 %} {% for action in actions if action.archive is not null %} {% set countz = countz + 1 %} {% endfor %} {{ countz }}
Actions par processus
{% for processus in processuses %} {% endfor %}
{{ processus.code | default("N/C") }} - {{ processus.designation | default("N/C") }} {% set count = 0 %} {% for action in processus.actions if action.archive is null %} {% set count = count + 1 %} {% endfor %} {{ count }}
Priorités
{% for priorite in priorites %} {% endfor %}
{{ priorite.designation | default("N/C") }} {% set count = 0 %} {% for action in actions if action.priorite == priorite and action.archive is null %} {% set count = count + 1 %} {% endfor %} {{ count }}
Phase
{% for phase in phases %} {% endfor %}
{{ phase.designation | default("N/C") }} {% set complet = "" %} {% set sumt = "0" %} {% for action in actions if action.phase == phase %} {%if action.budget is not null %} {% set sumt = action.budget + sumt ?? 0 %} {% else %} {% set complet = "I" %} {% endif %} {% endfor %} {{ sumt | number_format(0, '.', ' ') }} € ({{ complet }}) {% set sumj = 0 %} {% for action in actions if action.phase == phase %} {%if action.etp is not null %} {% set sumj = action.etp + sumj ?? 0 %} {% endif %} {% endfor %} {{ sumj | number_format(0, '.', ' ') }} j/h {% set count = 0 %} {% for action in actions if action.phase == phase %} {% set count = count + 1 %} {% endfor %} {{ count }} {% set sum = 0 %}

Gestionnaire de fichiers


#} {% endblock %} {% block javascripts %} {% endblock %}