{% extends "chrono/manager_home.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 '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 %}

{% 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 %} {% endwith %} {% endif %}
{% endblock %}