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

View file

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