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, template=template,
context=formatdict, context=formatdict,
cmd_options={ cmd_options={
'margin-top': 60, 'margin-top': 50,
'margin-bottom': 50, 'margin-bottom': 50,
}, },
) )

View file

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