Deletes templates — moved to registrasion-demo repo
This commit is contained in:
parent
2d5caa3299
commit
5e0c87c435
3 changed files with 0 additions and 123 deletions
|
@ -1,51 +0,0 @@
|
|||
<!--- Sample template. Move elsewhere once it's ready to go. -->
|
||||
|
||||
{% extends "site_base.html" %}
|
||||
{% block body %}
|
||||
|
||||
<h1>Invoice {{ invoice.id }}</h1>
|
||||
|
||||
<ul>
|
||||
<li>Void: {{ invoice.void }}</li>
|
||||
<li>Paid: {{ invoice.paid }}</li>
|
||||
</ul>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<th>Quantity</th>
|
||||
<th>Price/Unit</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
{% for line_item in invoice.lineitem_set.all %}
|
||||
<tr>
|
||||
<td>{{line_item.description}}</td>
|
||||
<td>{{line_item.quantity}}</td>
|
||||
<td>{{line_item.price}}</td>
|
||||
<td><!-- multiply --> FIXME</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th>TOTAL</th>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>{{ invoice.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Payment time</th>
|
||||
<th>Reference</th>
|
||||
<th>Amount</th>
|
||||
</tr>
|
||||
{% for payment in invoice.payment_set.all %}
|
||||
<tr>
|
||||
<td>{{payment.time}}</td>
|
||||
<td>{{payment.reference}}</td>
|
||||
<td>{{payment.amount}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
|
@ -1,50 +0,0 @@
|
|||
<!--- Sample template. Move elsewhere once it's ready to go. -->
|
||||
|
||||
{% extends "site_base.html" %}
|
||||
{% block body %}
|
||||
|
||||
<h1>Product Category: {{ category.name }}</h1>
|
||||
|
||||
<form method="post" action="">
|
||||
{% csrf_token %}
|
||||
|
||||
<table>
|
||||
{{ voucher_form }}
|
||||
</table>
|
||||
|
||||
<p><input type="submit"></p>
|
||||
|
||||
{% if discounts %}
|
||||
<h3>Available Discounts</h3>
|
||||
<ul>
|
||||
{% for discount in discounts %}
|
||||
<li>{{ discount.quantity }} x
|
||||
{% if discount.clause.percentage %}
|
||||
{{ discount.clause.percentage|floatformat:"2" }}%
|
||||
{% else %}
|
||||
${{ discount.clause.price|floatformat:"2" }}
|
||||
{% endif %}
|
||||
off
|
||||
{% if discount.clause.category %}
|
||||
{{ discount.clause.category }}
|
||||
{% else %}
|
||||
{{ discount.clause.product.category }}
|
||||
- {{ discount.clause.product }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
<h3>Available Products</h3>
|
||||
<p>{{ category.description }}</p>
|
||||
<table>
|
||||
{{ form }}
|
||||
</table>
|
||||
|
||||
<p><input type="submit"></p>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
{% endblock %}
|
|
@ -1,22 +0,0 @@
|
|||
<!--- Sample template. Move elsewhere once it's ready to go. -->
|
||||
|
||||
{% extends "site_base.html" %}
|
||||
{% block body %}
|
||||
|
||||
<h1>Attendee Profile</h1>
|
||||
|
||||
<p>Something something fill in your attendee details here!</p>
|
||||
|
||||
<form method="post" action="">
|
||||
{% csrf_token %}
|
||||
|
||||
<table>
|
||||
{{ form }}
|
||||
</table>
|
||||
|
||||
<input type="submit">
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in a new issue