{% extends "chrono/manager_home_reports.html" %} {% load static i18n %} {% block css %} {{ block.super }} {% endblock %} {% block extrascripts %} {{ block.super }} {% endblock %} {% block breadcrumb %} {{ block.super }}
  • {% trans "Events report" %}
  • {% endblock %} {% block appbar %}

    {% trans 'Events report' %}

    {% endblock %} {% block content %}
    {% trans "Report configuration" %} {{ form.as_p }} {% if request.GET and form.is_valid %} {% endif %}
    {% if request.GET and form.is_valid %} {% with events=form.get_events %} {% if 'bookings-not-checked' in form.cleaned_data.status %}
    {% blocktrans with start=form.cleaned_data.date_start end=form.cleaned_data.date_end %}Report from {{ start }} to {{ end }} - events with not checked bookings{% endblocktrans %}
    {% endif %} {% if 'not-checked' in form.cleaned_data.status %}
    {% blocktrans with start=form.cleaned_data.date_start end=form.cleaned_data.date_end %}Report from {{ start }} to {{ end }} - not checked events{% endblocktrans %}
    {% if events.not_checked and has_unjustified_absences %}
    • {% trans 'Warning' %} {% trans 'Only if a check type group is set on the agenda, for each booking not checked, then the check type defined as “unjustified absence” will be used to check the booking.' %}
      {% trans "Once all bookings without status have been checked, events will be marked as checked, if their agenda is configured to do so." %}
    {% endif %}
    {% endif %} {% if 'not-invoiced' in form.cleaned_data.status %}
    {% blocktrans with start=form.cleaned_data.date_start end=form.cleaned_data.date_end %}Report from {{ start }} to {{ end }} - not invoiced events{% endblocktrans %}
    {% endif %} {% if 'locked' in form.cleaned_data.status %}
    {% blocktrans with start=form.cleaned_data.date_start end=form.cleaned_data.date_end %}Report from {{ start }} to {{ end }} - events with check locked{% endblocktrans %}
    {% if events.locked %} {% endif %}
    {% endif %} {% if 'not-locked' in form.cleaned_data.status %}
    {% blocktrans with start=form.cleaned_data.date_start end=form.cleaned_data.date_end %}Report from {{ start }} to {{ end }} - events with check not locked{% endblocktrans %}
    {% if events.not_locked %} {% endif %}
    {% endif %} {% endwith %} {% endif %}
    {% endblock %}