invoice styling

This commit is contained in:
Thomas Steen Rasmussen 2016-05-31 08:44:29 +02:00
parent 80f0847e1b
commit d2dd113bd1
2 changed files with 5 additions and 4 deletions

View file

@ -11,7 +11,7 @@ def generate_pdf_letter(filename, template, formatdict):
template=template,
context=formatdict,
cmd_options={
'margin-top': 60,
'margin-top': 50,
'margin-bottom': 50,
},
)

View file

@ -4,7 +4,7 @@
<table style="width:100%;">
<tr>
<td style="width: 60%;">&nbsp;</td>
<td style="width: 70%;">&nbsp;</td>
<td>
<h3>
Order #{{ invoice.order.pk }}<br>
@ -15,7 +15,8 @@
</tr>
</table>
<br>
<h2>Products</h2>
<br>
<h2>INVOICE</h2>
<table style="width:90%; margin:1em;">
<tr>
<td>
@ -53,7 +54,7 @@
{{ invoice.order.total|currency }}
</table>
<br>
<h3>The order has been paid in full.</h3>
<p>
<ul>