symposion_app/pinaxcon/templates/registrasion/_invoice_details.html

87 lines
2.3 KiB
HTML
Raw Normal View History

Adds registration to the website (#69) * Updates settings and requirements * First pass at attendee profile * Imports the registration templates; defines attendee profile models etc. * First pass at themeing the registration form. * First page of the registration form: done! * Makes form validation nicer * Adds populate_inventory * Improves the additional items page * Allows for rendering of formsets. * Adds support for formset extending. * Removes formset delete buttons * Review page is LCA-ified * Fixes some formset behaviour * Fixes urls.py * LCA-ifies product_category.html * Invoices * Credit card payments * s/register/tickets/ * Show registration features only whilst products are available (think about this better, later) * Updates the attendee profile form page * Form tidy-up * Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe. * Adds feature to offer Australians a dropdown list of states rather than free text. * Allow toggling of void invoices. * Adds backgrounds to the headers in the registration process * Improves the review page * Adds “Linux Australia” to invoice details. * Do not show balance due on void/refunded invoices. * More thumbing * Adds a link back to reports on each report. * Tokenisation language. * Another bug in credit card processing. * Adds stripe refunds to options * Removes spurious dashboard button. * Tidies up the presentation of discounts. * Tidies up presentation of voucher form. * Fixes sponsor logo appearance with adblock. * Front page tweaks * Lets us specify alternative URLs in homepage panels * more * Updates discount amounts. * More website fixes * Changes language on pay invoice button * Adds contact details to the invoice template. * Updates the currency message in the invoice template. * Explicitly includes e-mail address, because theme_contact_email doesn’t propagate * Changes payment text. * s/registration/selections/ * Removes final face palm * Fixes lack of speaker dinner tickets for actual presenters. * Adjusts wording in invoice e-mails * Invoice wording. * (FIX) * Fixes margins on lists and tables * Improvements arising from those CSS fixes. * Changes description tags.
2016-09-30 10:46:05 +00:00
{% load registrasion_tags %}
{% load lca2017_tags %}
<h2>Tax Invoice/Statement</h2>
<h3>Linux Australia</h3>
<h4>ABN 56 987 117 479</h4>
<p>
Enquiries: please e-mail <a href="mailto:team@hobart.lca2017.org">team@hobart.lca2017.org</a>
</p>
<ul>
<li><strong>Invoice number:</strong> {{ invoice.id }}
<li><strong>Invoice status:</strong> {{ invoice.get_status_display }}</li>
<li><strong>Issue date:</strong> {{ invoice.issue_time|date:"DATE_FORMAT" }}
{% if not invoice.is_void %}
<li><strong>Due:</strong> {{ invoice.due_time|date:"DATETIME_FORMAT"}}</li>
{% endif %}
</ul>
<div>
<h4>Attention:</h4>
{{ invoice.recipient|linebreaksbr}}
</div>
<p>This invoice has been issued as a result of an application to attend {% conference_name %}. All amounts are in Australian Dollars (AUD).</p>
<table class="table table-striped">
<tr>
<th>Description</th>
<th class="text-right">Quantity</th>
<th class="text-right">Price/Unit</th>
<th class="text-right">Total</th>
</tr>
{% for line_item in invoice.lineitem_set.all %}
<tr>
<td>{{ line_item.description }}</td>
<td class="text-right">{{ line_item.quantity }}</td>
<td class="text-right">${{ line_item.price }}</td>
<td class="text-right">${{ line_item.total_price }}</td>
</tr>
{% endfor %}
<tr><th colspan="4"></th></tr>
<tr>
<th colspan="3">Includes 10% Australian Goods and Services Tax</th>
<td class="text-right">${{ invoice.value|gst}}</td>
</tr>
<tr>
<th colspan="3">Total</th>
<td class="text-right">${{ invoice.value }}</td>
</tr>
<tr><th colspan="4"></th></tr>
<tr>
<th colspan="3">Total payments received:</th>
<td class="text-right">${{ invoice.total_payments }}</td>
</tr>
{% if invoice.is_unpaid or invoice.is_paid %}
<tr>
<th colspan="3">Balance due:</th>
<td class="text-right">${{ invoice.balance_due }}</td>
</tr>
{% endif %}
</table>
{% if invoice.paymentbase_set.all %}
<hr />
<h3>Payments received</h3>
{% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %}
{% endif %}
<hr />
<p>{% conference_name %} is a project of Linux Australia, Inc.</p>
<p>
GPO Box 4788 <br />
Sydney NSW 2001 <br />
Australia <br />
ABN 56 987 117 479 <br />
<p>