pdf template styling

This commit is contained in:
Thomas Steen Rasmussen 2016-07-13 00:21:03 +02:00
parent edcdf23c19
commit c4459695da

View file

@ -14,34 +14,38 @@
</td>
</tr>
</table>
<h3>Customer: {{ invoice.customorder.customer|linebreaks }}</h3>
<h2>CUSTOMER</h2>
<p class="lead">{{ invoice.customorder.customer|linebreaks }}</p>
<br>
<h2>INVOICE</h2>
<table style="width:90%; margin:1em;">
<tr>
<td>
<b>Text
<td>
<td class="text-center" style="width: 20%">
<b>Price
<tr>
<td>
{{ invoice.customorder.text|linebreaks }}
<td align="right">
<td class="text-right">
{{ invoice.customorder.amount|currency }}
<tr>
<td align="right">
<td class="text-right">
<strong>Danish VAT (25%)</strong>
<td align="right">
<td class="text-right">
{{ invoice.customorder.vat|currency }}
<tr>
<td align="right">
<td class="text-right">
<strong>Total</strong>
<td align="right">
<td class="text-right">
{{ invoice.customorder.amount|currency }}
</table>
<br>
<p class="lead">
Payment should be made by bank transfer to our account in Arbejdernes Landsbank reg. 5371 account no. 0244504 within two weeks from {{ invoice.created|date:"b jS, Y" }} please. Thank you!
</p>