{% extends 'base.html' %} {% load utils %} {% block content %}

Personen

Personen gesamt: {{person.by_count.total}} (davon haben {{person.by_count.single_visit}} die Werkstatt nur 1x besucht und {{person.by_count.long_not_seen}} waren seit über einem Jahr nicht mehr da)

{{person.by_count.no_booking}} haben noch nie Werkstattzeit gebucht. {{person.by_count.no_course}} haben nie eine Einweisung gemacht.

Nach Art

{% for stat in trait.by_type %} {% endfor %}

{{ head.traits }}

Personen
{{ trait.labels|get_item:stat.trait }} {{ stat.count }}
{% for stat in booking.by_type %} {% endfor %}

{{ head.booking_types }}

BuchungenDauer (ø)Gesamt
{{ booking.labels|get_item:stat.type }} {{ stat.count }} {{ stat.sum|divide:stat.count|floatformat:1 }} Min. {{ stat.sum }} Min.

{{ head.bookings }}

{% for year, stat in by_month %} {% for sum, count, people in stat %} {% if people and not forloop.first %} {{ people }} {% else %} {{ people }} {% endif %} {% endfor %} {% for sum, count, people in stat %} {{ count }} {% endfor %} {% for sum, count, people in stat %} {{ sum|divide:count|floatformat:1 }} {% endfor %} {% for sum, count, people in stat %} {{ sum }} {% endfor %} {% endfor %}

{{ year }}

JanFebMärAprMaiJunJulAugSepOktNovDez
Personen
Buchungen
Minuten (ø)
Minuten
{% endblock content %}