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> </td>
</tr> </tr>
</table> </table>
<h3>Customer: {{ invoice.customorder.customer|linebreaks }}</h3>
<h2>CUSTOMER</h2>
<p class="lead">{{ invoice.customorder.customer|linebreaks }}</p>
<br> <br>
<h2>INVOICE</h2> <h2>INVOICE</h2>
<table style="width:90%; margin:1em;"> <table style="width:90%; margin:1em;">
<tr> <tr>
<td> <td>
<b>Text <b>Text
<td> <td class="text-center" style="width: 20%">
<b>Price <b>Price
<tr> <tr>
<td> <td>
{{ invoice.customorder.text|linebreaks }} {{ invoice.customorder.text|linebreaks }}
<td align="right"> <td class="text-right">
{{ invoice.customorder.amount|currency }} {{ invoice.customorder.amount|currency }}
<tr> <tr>
<td align="right"> <td class="text-right">
<strong>Danish VAT (25%)</strong> <strong>Danish VAT (25%)</strong>
<td align="right"> <td class="text-right">
{{ invoice.customorder.vat|currency }} {{ invoice.customorder.vat|currency }}
<tr> <tr>
<td align="right"> <td class="text-right">
<strong>Total</strong> <strong>Total</strong>
<td align="right"> <td class="text-right">
{{ invoice.customorder.amount|currency }} {{ invoice.customorder.amount|currency }}
</table> </table>
<br> <br>
<p class="lead"> <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! 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> </p>