Files
@ c40b8cc02ddc
Branch filter:
Location: CopyleftConf/copyleftconf-website/pinaxcon/templates/registrasion/invoice.html - annotation
c40b8cc02ddc
1.5 KiB
text/html
Templates for stripe.
6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee c40b8cc02ddc c40b8cc02ddc 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee c56c7498700b c56c7498700b 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee f42aeb707e2a 6c94eb9e91ee 6c94eb9e91ee | {% extends "site_base.html" %}
{% load bootstrap %}
{% load registrasion_tags %}
{% block body %}
{% if invoice.is_unpaid %}
<p><strong>NOTICE:</strong> The below invoice is automatically generated, and will be voided
if you amend your registration before payment, or if discounts or products contained in the
invoice become unavailable. The items and discounts are only reserved until
the invoice due time.</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 your registration.</p>
<div>
<a class="btn btn-default" href="{% url "demopay" invoice.id invoice.user.attendee.access_code %}">Pay this invoice (dummy)</a>
<a class="btn btn-default" href='{% url "registripe_card" invoice.id %}'>Pay this invoice with Stripe</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>
{% 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 %}
|