{% extends 'base.html.twig' %} {% set bodyClass = 'reporting_dashboard' %} {% set menuItem = 'reporting_dashboard' %} {% block body_head %}

{{ 'reporting.dashboard.title'|trans }}

{% endblock %} {% block breadcrumb %} {% set breadcrumb = [] %} {% include '_breadcrumb.html.twig' with {'breadcrumb': breadcrumb} %} {% endblock %} {% block body %}

{{ 'reporting.dashboard.label.planified_action_average'|trans }} {{ data.mesurementByCollectivity.average|number_format(2, ',')}}

{{ 'reporting.dashboard.label.proof_average'|trans }} {{ data.proofByCollectivity.average|number_format(2, ',')}}

{{ 'reporting.dashboard.label.reporting_review_average'|trans }} {{ data.balanceSheetProofByCollectivity.average|number_format }}%

{{ 'reporting.dashboard.label.maturity_survey_average'|trans }} {{ data.surveyLastYear.average|number_format }}%

{% if app_commune_svg_reduced_path is not empty %}

{{ 'reporting.dashboard.tab.map'|trans }}

{{source('@public_path'~asset(app_commune_svg_reduced_path))}}

{{data.collectivityByAddressInsee.value.all}} {{ 'reporting.dashboard.label.total_structures'|trans }}

{{data.collectivityByAddressInsee.value.dpoPercent}} % {{ 'reporting.dashboard.label.mutual_dpd'|trans }}

{% endif %}
{% if app_activate_notifications and app_notification_dashboard_shown == 'true' %} {% set maxNotifs = app_notification_dashboard_number %} {% set notifs = notifications.findAll()|filter(n => n.readAt is not defined or n.readAt is null) %}
{{ block("body", "Notification/Notification/box.html.twig") }}
{% endif %}

{{ 'reporting.dashboard.tab.structures'|trans }}

{% if 0 == data.collectivityByType.value.all %} {{ 'global.label.no_data'|trans }} {% else %}
{% endif %}
{# EXPORT CSV #}

{{ 'reporting.dashboard.label.export_registry_treatments'|trans }}

{{ 'global.action.export'|trans }}

{{ 'reporting.dashboard.label.export_registry_contractors'|trans }}

{{ 'global.action.export'|trans }}

{{ 'reporting.dashboard.label.export_registry_mesurements'|trans }}

{{ 'global.action.export'|trans }}

{{ 'reporting.dashboard.label.export_user_collectivities'|trans }}

{{ 'global.action.export'|trans }}
{% endblock %} {% set inseeObjectFlatten = data.collectivityByAddressInsee.value.addressInsee %} {% block javascripts %} {# DEFINE DATA #} {# USE DATA & DEFINE GRAPH #} {{ encore_entry_script_tags('js/dashboard_admin') }} {% endblock %}