2016-09-30 10:46:05 +00:00
|
|
|
{% extends "registrasion/base.html" %}
|
|
|
|
{% load registrasion_tags %}
|
2017-09-27 13:46:13 +00:00
|
|
|
{% load lca2018_tags %}
|
2016-09-30 10:46:05 +00:00
|
|
|
|
|
|
|
{% block header_title %}Review your selection{% endblock %}
|
|
|
|
{% block header_inset_image %}{% illustration "wineglass.svg" %}{% endblock %}
|
|
|
|
{% block header_paragraph %}
|
|
|
|
Please ensure that you have selected all of the products you require, including
|
|
|
|
t-shirts and social event tickets.
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-01 13:43:11 +00:00
|
|
|
{% block scripts_extra %}
|
|
|
|
{{ voucher_form.media.js }}
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
function showVoucherForm() {
|
|
|
|
$("#voucher-form").show();
|
|
|
|
$("#voucher-form-button").hide();
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2016-09-30 10:46:05 +00:00
|
|
|
{% block content %}
|
2017-10-01 13:43:11 +00:00
|
|
|
<button id="voucher-form-button" class="btn" onclick="showVoucherForm()">Enter voucher code</button>
|
2016-09-30 10:46:05 +00:00
|
|
|
|
|
|
|
{% items_pending as pending %}
|
|
|
|
{% if pending %}
|
|
|
|
|
|
|
|
<h3>Current selection</h3>
|
|
|
|
|
|
|
|
<p>You've selected the following items, which will be in your invoice when
|
|
|
|
you check out:<p>
|
|
|
|
{% include "registrasion/_items_list.html" with items=pending %}
|
|
|
|
|
|
|
|
{% items_purchased as purchased %}
|
|
|
|
{% if purchased %}
|
|
|
|
<p>You've already paid for the following items:</p>
|
|
|
|
{% include "registrasion/_items_list.html" with items=purchased suffix="<em>(PAID)</em>" %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<h3>Add to your selection</h3>
|
|
|
|
|
|
|
|
<p>You can add these items now, or you can come back and add them in a
|
|
|
|
later purchase.</p>
|
|
|
|
|
|
|
|
{% missing_categories as missing %}
|
|
|
|
{% if missing %}
|
2017-10-01 09:01:15 +00:00
|
|
|
<div class="alert-warning">
|
|
|
|
<p class="label-warning">
|
2016-09-30 10:46:05 +00:00
|
|
|
<strong>You have <em>not</em> selected anything from the following
|
|
|
|
categories. If your ticket includes any of these, you still need to
|
|
|
|
make a selection:
|
|
|
|
</strong>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{% include "registrasion/_category_list.html" with categories=missing %}
|
2017-10-01 09:01:15 +00:00
|
|
|
</div>
|
2016-09-30 10:46:05 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>You can also change your selection from these categories:</strong>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{% available_categories as available %}
|
|
|
|
{% include "registrasion/_category_list.html" with categories=available exclude=missing %}
|
|
|
|
|
|
|
|
<h3>What next?</h3>
|
|
|
|
|
|
|
|
<p>You can either check out an invoice and pay for your selections, or return to
|
|
|
|
the dashboard.</p>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
2017-09-27 13:46:13 +00:00
|
|
|
<a class="btn btn-success" href="{% url "checkout" %}">
|
2016-09-30 10:46:05 +00:00
|
|
|
<i class="fa fa-credit-card"></i> Check out and pay
|
|
|
|
</a>
|
|
|
|
<a class="btn btn-primary" href="{% url "dashboard" %}">Return to dashboard</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<p>You have no items that need to be paid.</p>
|
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<a class="btn btn-default" href="{% url "dashboard" %}">Return to dashboard</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|