From 0064d69d905a6cb700447360cf243b2a57c0de47 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 17 Sep 2017 14:40:05 +0200 Subject: [PATCH] maintain linebreaks in customer info in credit notes --- src/shop/templates/pdf/creditnote.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shop/templates/pdf/creditnote.html b/src/shop/templates/pdf/creditnote.html index b8e27423..8b50659b 100644 --- a/src/shop/templates/pdf/creditnote.html +++ b/src/shop/templates/pdf/creditnote.html @@ -13,7 +13,7 @@ -

Customer: {% if creditnote.user %}{{ creditnote.user.email }}{% else %}{{ creditnote.customer }}{% endif %}

+

Customer: {% if creditnote.user %}{{ creditnote.user.email }}{% else %}{{ creditnote.customer|linebreaks }}{% endif %}


CREDITNOTE