2017-12-12 20:57:17 +00:00
{% extends 'base.html' %}
{% load commonmark %}
{% load static from staticfiles %}
{% load imageutils %}
{% block extra_head %}
< script src = "{% static " js / jquery . dataTables . min . js " % } " > < / script >
< link rel = "stylesheet" href = "{% static 'css/jquery.dataTables.min.css' %}" >
{% endblock extra_head %}
{% block content %}
< div class = "row" >
< h2 > Ticket Check-In< / h2 >
< div class = "lead" >
2018-06-03 13:34:04 +00:00
Use this view to check in participants. Use the search field to search for username, email, products, order ID, ticket UUID, etc. To hand out badges go to the < a href = "{% url 'backoffice:badge_handout' bocamp_slug=bocamp.slug %}" > Badge Handout view< / a > instead. To hand out other products go to the < a href = "{% url 'backoffice:product_handout' bocamp_slug=bocamp.slug %}" > Hand Out Products< / a > view instead.
2017-12-12 20:57:17 +00:00
< / div >
< div >
This table shows all (Shop|Discount|Sponsor)Tickets which are checked_in=False.
< / div >
< / div >
< br >
< div class = "row" >
< table class = "table table-hover" >
< thead >
< tr >
2017-12-12 21:48:45 +00:00
< th > Ticket UUID< / th >
< th > Ticket Type< / th >
< th > Order ID< / th >
< th > Order User< / th >
< th > Order Email< / th >
< th > Ticket Name< / th >
< th > Ticket Email< / th >
2017-12-12 20:57:17 +00:00
< th > Product< / th >
< / tr >
< / thead >
< tbody >
{% for ticket in tickets %}
< tr >
2017-12-12 21:48:45 +00:00
< td > < a href = "/admin/tickets/shopticket/{{ ticket.uuid }}/change/" > {{ ticket.uuid }}< / a > < / td >
< td > {{ ticket.shortname }}< / td >
< td > < a href = "/admin/shop/order/{{ ticket.order.id }}/change/" > {{ ticket.order.id }}< / a > < / td >
2017-12-12 20:57:17 +00:00
< td > {{ ticket.order.user }}< / td >
< td > {{ ticket.order.user.email }}< / td >
< td > {{ ticket.name }}< / td >
2017-12-12 21:48:45 +00:00
< td > {{ ticket.email }}< / td >
< td > {{ ticket.product }}< / td >
2017-12-12 20:57:17 +00:00
< / tr >
{% endfor %}
< / tbody >
< / table >
< / div >
< script >
$(document).ready(function(){
$('.table').DataTable();
});
< / script >
{% endblock content %}