From 61de010bbbe07423cd82393b228a33caf3520d78 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Wed, 4 Dec 2019 17:55:13 +0100 Subject: [PATCH] Put customer VAT ID in the same line as the descriptor --- src/pretix/base/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/invoice.py b/src/pretix/base/invoice.py index 090a0dd110..44ae39d5d8 100644 --- a/src/pretix/base/invoice.py +++ b/src/pretix/base/invoice.py @@ -467,7 +467,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer): if self.invoice.invoice_to_vat_id: story.append(Paragraph( - pgettext('invoice', 'Customer VAT ID') + ':
' + + pgettext('invoice', 'Customer VAT ID') + ': ' + bleach.clean(self.invoice.invoice_to_vat_id, tags=[]).replace("\n", "
\n"), self.stylesheet['Normal'] ))