{% extends "_base.html" %} {% load static %} {% load filters %} {% block ui_active_tab %}'statistics'{% endblock ui_active_tab %} {% block page_header %}Monthly statistics{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block breadcrumb %} {% include "mail_templates/breadcrumb.html" %} {% endblock breadcrumb %} {% block styles %} {{ block.super }} {% endblock %} {% block maincontent %}
{# {% csrf_token %}#} {% for field in form %}
{{ field | add_class:'form-control' }}
{% endfor %}
{% include 'statistics/small_box.html' with value=monthly_statistics.general.appointments label="Appointments" color="aqua" icon="calendar" %} {% include 'statistics/small_box.html' with value=monthly_statistics.general.visits_started label="Visits started" color="green" icon="hourglass-start" %} {% include 'statistics/small_box.html' with value=monthly_statistics.general.visits_ended label="Visits ended" color="red" icon="hourglass-end" %}

Appointments

{% for status in monthly_statistics.statuses_list %} {% endfor %} {% for appointment_type in monthly_statistics.appointments_types_list %} {{ monthly_statistics.appointments | render_appointments:appointment_type }} {% endfor %}
Type \ Status Total{{ status }}
{{ appointment_type }}
{% endblock maincontent %} {% block scripts %} {{ block.super }} {% endblock scripts %}