{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Check-in history" %}{% endblock %} {% block inside %}

{% trans "Check-in history" %}

{% trans "Filter" %}

{% bootstrap_field filter_form.checkin_list %}
{% bootstrap_field filter_form.status %}
{% bootstrap_field filter_form.type %}
{% bootstrap_field filter_form.device %}
{% bootstrap_field filter_form.datetime_from %}
{% bootstrap_field filter_form.datetime_until %}
{% bootstrap_field filter_form.gate %}
{% bootstrap_field filter_form.itemvar %}
{% if checkins|length == 0 %}

{% if request.GET %} {% trans "Your search did not match any check-ins." %} {% else %} {% blocktrans trimmed %} You haven't scanned any tickets yet. {% endblocktrans %} {% endif %}

{% else %} {% for c in checkins %} {% endfor %}
{% trans "Time of scan" %} {% trans "Scan type" %}
{% trans "Check-in list" %}
{% trans "Result" %} {% trans "Ticket" %}
{% trans "Product" %}
{% trans "Device" %}
{% trans "Gate" %}
{{ c.datetime|date:"SHORT_DATETIME_FORMAT" }} {% if c.type == "exit" %} {% if c.auto_checked_in %} {% endif %} {% elif c.forced and c.successful %} {% elif c.force_sent %} {% elif c.auto_checked_in %} {% endif %} {% if c.forced and not c.successful %}
{% trans "Failed in offline mode" %} {% endif %}
{% if c.type == "exit" %}{% endif %} {% if c.type == "entry" %}{% endif %} {{ c.get_type_display }}
{{ c.list }}
{% if c.successful %} {% trans "Successful" context "checkin_result" %} {% else %} {% trans "Denied" context "checkin_result" %}
{{ c.get_error_reason_display }} {% if c.error_explanation %}
{{ c.error_explanation }} {% endif %}
{% endif %}
{% if c.position %} {{ c.position.order.code }}-{{ c.position.positionid }} {% include "pretixcontrol/checkin/fragment_checkin_source_type.html" with source_type=c.raw_source_type %} {% if c.position.attendee_name %}
{{ c.position.attendee_name }} {% endif %} {% if c.position.item %}
{{ c.position.item }}{% if c.position.variation %} – {{ c.position.variation }}{% endif %} {% endif %} {% else %} {% include "pretixcontrol/checkin/fragment_checkin_source_type.html" with source_type=c.raw_source_type %} {{ c.raw_barcode|slice:":16" }}{% if c.raw_barcode|length > 16 %}…{% endif %} {% if c.raw_item %}
{{ c.raw_item }}{% if c.raw_variation %} – {{ c.raw_variation }}{% endif %} {% endif %} {% if c.raw_subevent %}
{{ c.raw_subevent }}{% if c.raw_variation %} – {{ c.raw_variation }}{% endif %} {% endif %} {% endif %}
{{ c.device|default:"" }} {% if c.gate %}
{{ c.gate }} {% endif %}
{% endif %} {% include "pretixcontrol/pagination.html" %} {% endblock %}