right align amounts, fix creditnote number

This commit is contained in:
Thomas Steen Rasmussen 2016-06-18 21:32:52 +02:00
parent 380e173fc7
commit d2772486ac
2 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@
<td>
<h3>
{{ creditnote.created|date:"b jS, Y" }}<br>
Creditnote #{{ invoice.pk }}
Creditnote #{{ creditnote.pk }}
</h3>
</td>
</tr>
@ -25,18 +25,18 @@
<tr>
<td>
{{ creditnote.text }}
<td>
<td align="right">
{{ creditnote.amount|currency }}
<tr>
<td align="right">
<strong>Danish VAT (25%)</strong>
<td>
<td align="right">
{{ creditnote.vat|currency }}
<tr>
<td align="right">
<strong>Total</strong>
<td>
<td align="right">
{{ creditnote.amount|currency }}
</table>

View file

@ -33,9 +33,9 @@
{{ order_product.product.name }}
<td>
{{ order_product.quantity }}
<td>
<td align="right">
{{ order_product.product.price|currency }}
<td>
<td align="right">
{{ order_product.total|currency }}
{% endfor %}
@ -43,14 +43,14 @@
<td colspan="2">
<td>
<strong>Danish VAT (25%)</strong>
<td>
<td align="right">
{{ invoice.order.vat|currency }}
<tr>
<td colspan="2">
<td>
<strong>Total</strong>
<td>
<td align="right">
{{ invoice.order.total|currency }}
</table>
<br>