symposion_app/pinaxcon/templates/registrasion/invoice.html
Sachi King b3ac11a66b Simplify django form rendering
Remove my hack to get bootstrap forms.

Remove the insane render-row-at-a-time forms that then only render
default django forms.
2017-04-25 01:26:59 +10:00

51 lines
2.1 KiB
HTML

{% extends "registrasion/base.html" %}
{% load registrasion_tags %}
{% load pyconau2017_tags %}
{% load staticfiles %}
{% block header_title %}{% conference_name %}{% endblock %}
{% block header_paragraph %}
<p>Monday 16 January&ndash;Friday 20 January 2017.</p>
<p>Wrest Point Convention Centre, Hobart, Tasmania, Australia.</p>
{% endblock %}
{% block header_inset_image %}{% illustration "tuz.svg" %}{% endblock %}
{% block header_background_image %}{% static "pyconau2017/images/wp_bg_optimised.jpg" %}{% endblock %}
{% block content %}
{% if invoice.is_unpaid %}
<p>
<strong>NOTICE:</strong> The below invoice is automatically generated, and
will be voided if you amend your selections before payment, or if discounts
or products contained in the invoice become unavailable. The products and
discounts are only reserved until the invoice due time, please pay before then
to guarantee your selection. Late payments are accepted only if the products
and discounts are still available.</p>
{% url "invoice_access" invoice.user.attendee.access_code as access_url %}
<p>Your most recent unpaid invoice will be available at
<a href="{{ access_url }}">{{ request.scheme }}://{{ request.get_host }}{{ access_url }}</a>
You can give this URL to your accounts department to pay for this invoice.</p>
<div class="btn-group">
<a class="btn btn-default" href='{% url "registripe_card" invoice.id invoice.user.attendee.access_code %}'>Pay this invoice by card</a>
{% if user.is_staff %}
<a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a>
{% endif %}
</div>
{% elif invoice.is_paid %}
{% if user.is_staff %}
<div class="btn_group">
{% if user.is_staff %}
<a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a>
<a class="btn btn-default" href="{% url "refund" invoice.id %}">Refund by issuing credit note</a>
{% endif %}
</div>
{% endif %}
{% endif %}
<hr />
{% include "registrasion/_invoice_details.html" %}
{% endblock %}