invoice styling
This commit is contained in:
parent
80f0847e1b
commit
d2dd113bd1
|
@ -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,
|
||||
},
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td style="width: 60%;"> </td>
|
||||
<td style="width: 70%;"> </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>
|
||||
|
|
Loading…
Reference in a new issue