From d2dd113bd11befe4ec6ef5ccccd09eb0f6b5feb9 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 31 May 2016 08:44:29 +0200 Subject: [PATCH] invoice styling --- shop/pdf.py | 2 +- shop/templates/pdf/invoice.html | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/shop/pdf.py b/shop/pdf.py index 326b4577..cd33257f 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': 60, + 'margin-top': 50, 'margin-bottom': 50, }, ) diff --git a/shop/templates/pdf/invoice.html b/shop/templates/pdf/invoice.html index 1dd77d1c..dcb91c9a 100644 --- a/shop/templates/pdf/invoice.html +++ b/shop/templates/pdf/invoice.html @@ -4,7 +4,7 @@ - +
  

Order #{{ invoice.order.pk }}
@@ -15,7 +15,8 @@


-

Products

+
+

INVOICE

@@ -53,7 +54,7 @@ {{ invoice.order.total|currency }}
- +

The order has been paid in full.