{% extends 'base.html.twig' %} {% block title %}{{ 'display.stats'|trans }}- {{ stats.zone }} {{ stats.name }} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ 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
{% 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...
{% include 'admin/stats_history.html.twig' %}

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

            {{query_places|raw}}
            
Exécuter dans Overpass Turbo

Historique des {{ statsHistory|length }} stats

{# #} {# #} {% for stat in statsHistory %} {# #} {# #} {% endfor %}
Date Places Complétion Emails count Emails sent Opening hours Address Website SiretAccessibiliteNote
{{ stat.date|date('d/m/Y') }} {{ stat.placesCount }} {{ stat.completionPercent }}% {{ stat.emailsCount }} {{ stat.emailsSent }} {{ stat.openingHoursCount }} {{ stat.addressCount }} {{ stat.websiteCount }} {{ stat.siretCount }}{{ stat.accessibiliteCount }}{{ stat.noteCount }}

Comment est calculé le score de complétion ?

{% endblock %}