{% extends "chrono/manager_agenda_day_view.html" %} {% load i18n %} {% block main-content-attributes %}class="partial-booking-dayview"{% endblock %} {% block extra_date_title %} {% if event.invoiced %} {% trans "Invoiced" %} {% elif event.check_locked %} {% trans "Check locked" %} {% endif %} {% if event.checked %}{% trans "Checked" %}{% endif %} {% endblock %} {% block content %} {% if not hours %}

{% trans "No opening hours this day." %}

{% else %}
{{ filterset.form.as_p }}
{% if results and not event.checked and not event.check_locked %}
{% csrf_token %}
{% endif %}
{% for user in users %}
{% spaceless %}

{% if user.bookings and allow_check %} {{ user.name }} {% else %} {{ user.name }} {% endif %}

{% endspaceless %}
{% for booking in user.bookings %}

{% trans "Booked period:" %}

{% endfor %}
{% if user.bookings %}
{% for booking in user.bookings %} {% if booking.user_was_present is not None %}

{% trans "Checked period:" %} {% if booking.user_check_type_label %}{{ booking.user_check_type_label }}{% endif %}

{% endif %} {% endfor %}
{% for booking in user.bookings %} {% if booking.user_was_present is not None and booking.computed_start_time != None and booking.computed_end_time != None %}

{% trans "Computed period:" %}

{% endif %} {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% endblock %}