parent
a0e0a142e4
commit
c05deeb26c
1 changed files with 17 additions and 6 deletions
|
@ -29,18 +29,29 @@
|
|||
<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.price|multiply:line_item.quantity }}</td>
|
||||
<td class="text-right">${{ line_item.total_price }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
<tr>
|
||||
<th>TOTAL</th>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<th colspan="3">TOTAL</th>
|
||||
<td class="text-right">${{ invoice.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="table table-striped">
|
||||
|
||||
<tr>
|
||||
<td colspan="3">Total payments:</td>
|
||||
<td class="text-right">${{ invoice.total_payments }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">Balance due:</td>
|
||||
<td class="text-right">${{ invoice.balance_due }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{% if invoice.paymentbase_set.all %}
|
||||
<h4>Payments received</h4>
|
||||
{% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %}
|
||||
<h4>Payments received</h4>
|
||||
{% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue