2016-09-30 10:46:05 +00:00
|
|
|
{% extends "registrasion/base.html" %}
|
|
|
|
{% load registrasion_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h2>Item summary for {{ user.attendee.attendeeprofilebase.attendee_name }}
|
|
|
|
(id={{user.id}})</h2>
|
|
|
|
|
|
|
|
<h3>Paid Items</h3>
|
|
|
|
|
|
|
|
<p>You cannot remove paid items from someone's registration. You must first
|
|
|
|
cancel the invoice that added those items. You will need to re-add the items
|
|
|
|
from that invoice for the user to have them available again.</p>
|
|
|
|
|
|
|
|
{% include "registrasion/_items_list.html" with items=paid %}
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<h3>Cancelled Items</h3>
|
|
|
|
|
|
|
|
{% include "registrasion/_items_list.html" with items=cancelled %}
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<h3>Amend pending items</h3>
|
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
<form class="form-horizontal" method="POST">
|
2016-09-30 10:46:05 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{% include "_form_snippet.html" with form=form %}
|
|
|
|
<br/>
|
2017-12-31 06:22:41 +00:00
|
|
|
<input class="btn btn-primary" type="submit">
|
2016-09-30 10:46:05 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<h3>Generate invoice</h3>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
2017-12-31 06:22:41 +00:00
|
|
|
<a class="btn btn-primary" href="{% url "checkout" user.id %}">Check out cart and view invoice</a>
|
2016-09-30 10:46:05 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<h3>Apply voucher</h3>
|
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
<form class="form-horizontal" method="POST">
|
2016-09-30 10:46:05 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{% include "_form_snippet.html" with form=voucher_form %}
|
|
|
|
<br/>
|
2017-12-31 06:22:41 +00:00
|
|
|
<input class="btn btn-primary" type="submit">
|
2016-09-30 10:46:05 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|