more work on invoice list
This commit is contained in:
parent
288d90332b
commit
50bb1d4772
|
@ -4,9 +4,9 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Invoice #</th>
|
||||
<th>Username</th>
|
||||
<th>Email</th>
|
||||
<th>Customer</th>
|
||||
<th>Invoice Date</th>
|
||||
<th>Amount</th>
|
||||
<th>Order</th>
|
||||
<th>Paid</th>
|
||||
<th>Actions</th>
|
||||
|
@ -16,9 +16,9 @@
|
|||
{% for invoice in invoice_list %}
|
||||
<tr>
|
||||
<td>{{ invoice.id }}</td>
|
||||
<td>{{ invoice.get_order.user.username }}</td>
|
||||
<td>{{ invoice.get_order.user.email }}</td>
|
||||
<td>{% if invoice.order %}{{ invoice.order.user.username }} <{{ invoice.order.user.email }}>{% else %}invoice.customorder.customer{% endif %}</td>
|
||||
<td>{{ invoice.created|date }}</td>
|
||||
<td>{{ invoice.get_order.amount }} DKK</td>
|
||||
<td>{{ invoice.get_order }}</td>
|
||||
<td>{{ invoice.get_order.paid|truefalseicon }}</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue