{% extends 'base.html.twig' %} {% block title %}{{ 'display.stats'|trans }}- {{ stats.zone }} {{ stats.name }} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %}

{{ 'display.stats'|trans }} - {{ stats.zone }} {{ stats.name }} - {{ stats.completionPercent }}% complété

Labourer les mises à jour
{% if stats.population %}
Population : {{ stats.population|number_format(0, '.', ' ') }}
1 lieu pour {% set ratio = (stats.population and stats.places|length > 0) ? (stats.population / stats.places|length)|round(0, 'ceil') : '?' %} {{ ratio|number_format(0, '.', ' ') }} habitants
{{ stats.getAvecNote() }} / {{ stats.places|length }} lieux avec note
{% if stats.budgetAnnuel %}
Budget annuel : {{ stats.budgetAnnuel|number_format(0, '.', ' ') }} €
Budget par habitant : {% if stats.population > 0 %} {{ (stats.budgetAnnuel / stats.population)|number_format(0, '.', ' ') }} € {% else %} ? {% endif %}
{% endif %} {% endif %}
{{ stats.getCompletionPercent() }} % complété sur les critères donnés.
{{ stats.places | length}} lieux dans la zone.
{{ stats.getAvecHoraires() }} lieux avec horaires.
{{ stats.getAvecAdresse() }} lieux avec adresse.
{{ stats.getAvecSite() }} lieux avec site web renseigné.
{{ stats.getAvecAccessibilite() }} lieux avec accessibilité PMR renseignée.
{{ stats.getAvecNote() }} lieux avec note renseignée.
Chargement de la carte...
Fréquence des mises à jour par trimestre pour {{stats.name}}
{% include 'admin/stats_history.html.twig' with {stat: stats} %}

Tableau des {{ stats.places |length }} lieux

{# #} {% include 'admin/stats/table-head.html.twig' %} {% for commerce in stats.places %} {% include 'admin/stats/row.html.twig' %} {% endfor %}
{#

Requête Overpass

            {{overpass}}
    
#}

Comment est calculé le score de complétion ?

{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}