bornhack-website/shop/templates/pdf/invoice.html

72 lines
1.8 KiB
HTML
Raw Normal View History

2016-05-31 05:53:00 +00:00
{% load static from staticfiles %}
2016-05-31 05:42:01 +00:00
{% load shop_tags %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<table style="width:100%;">
<tr>
2016-05-31 21:15:59 +00:00
<td style="width: 75%;">&nbsp;</td>
2016-05-31 06:39:42 +00:00
<td>
<h3>
2016-05-31 21:15:59 +00:00
{{ invoice.created|date:"b jS, Y" }}<br>
2016-05-31 06:39:42 +00:00
Order #{{ invoice.order.pk }}<br>
2016-05-31 21:15:59 +00:00
Invoice #{{ invoice.pk }}
2016-05-31 06:39:42 +00:00
</h3>
</td>
2016-05-31 05:42:01 +00:00
</tr>
</table>
<br>
2016-05-31 06:44:29 +00:00
<br>
<h2>INVOICE</h2>
2016-05-31 05:42:01 +00:00
<table style="width:90%; margin:1em;">
<tr>
<td>
<b>Name
<td>
<b>Quantity
<td>
<b>Price
<td>
<b>Total
{% for order_product in invoice.order.orderproductrelation_set.all %}
<tr>
<td>
{{ order_product.product.name }}
<td>
{{ order_product.quantity }}
<td>
{{ order_product.product.price|currency }}
<td>
{{ order_product.total|currency }}
{% endfor %}
<tr>
<td colspan="2">
<td>
<strong>Danish VAT (25%)</strong>
<td>
2016-05-31 06:10:13 +00:00
{{ invoice.order.vat|currency }}
2016-05-31 05:42:01 +00:00
<tr>
<td colspan="2">
<td>
<strong>Total</strong>
<td>
2016-05-31 06:10:13 +00:00
{{ invoice.order.total|currency }}
2016-05-31 05:42:01 +00:00
</table>
2016-05-31 06:44:29 +00:00
<br>
2016-05-31 05:42:01 +00:00
<h3>The order has been paid in full.</h3>
<p>
<ul>
2016-05-31 21:24:05 +00:00
<li>Tickets can be downloaded from the webshop.</li>
2016-05-31 05:42:01 +00:00
<li>Merchandise can be picked up from the info booth during the event.</li>
<li>Accomodation/lodges and village tents will be available when the event begins.</li>
2016-05-31 06:25:19 +00:00
</ul>
2016-05-31 05:42:01 +00:00
</p>
<p>Note: Danish law grants everyone a 14 days 'cooling-off' period for
internet purchases, in which the customer can regret the purchase for any
reason (including just changing your mind). In case you regret this purchase
please contact us on info@bornhack.org for a full refund. This is possible until
2016-05-31 06:25:19 +00:00
<b>{{ invoice.regretdate|date:"b jS, Y" }}</b></p>