Add the boardingpass template

This commit is contained in:
James Polley 2018-01-15 02:33:32 +11:00
parent 6f064455ab
commit 1f025400e1

View file

@ -0,0 +1,20 @@
{% extends "regidesk/base.html" %}
{% load i18n %}
{% load registrasion_tags %}
{% load lca2018_tags %}
{% items_purchased as purchased %}
{% items_pending as pending %}
{% items_purchased 1 as ticket %}
{% total_items_purchased 2 as penguin_dinner_count %}
{% total_items_purchased 3 as speakers_dinner_count %}
{% total_items_purchased 4 as pdns_count %}
{% ticket_type as ticket_type %}
{% block header_title %}
<h1>Boarding Pass for {{ attendee.user.email }}</h1>
{% endblock %}
{% block body %}
<div>{{ boardingpass|safe }}</div>
{% endblock %}