diff --git a/shop/pdf.py b/shop/pdf.py index 57759aaa..1d0c2915 100644 --- a/shop/pdf.py +++ b/shop/pdf.py @@ -11,7 +11,7 @@ def generate_pdf_letter(filename, template, formatdict): template=template, context=formatdict, cmd_options={ - 'margin-top': 40, + 'margin-top': 60, 'margin-bottom': 50, }, ) diff --git a/shop/templates/invoice.html b/shop/templates/invoice.html index 64807bee..7900b764 100644 --- a/shop/templates/invoice.html +++ b/shop/templates/invoice.html @@ -1,7 +1,19 @@ {% load shop_tags %} -This is an invoice. + - +
+ + + + + + + + + +
Order number: {{ ordernumber }}
Invoice number: {{ invoicenumber }}
Date: {% now "j/n-Y" %}
+ +