maintain linebreaks in customer info in credit notes

This commit is contained in:
Thomas Steen Rasmussen 2017-09-17 14:40:05 +02:00
parent 88cb7934c1
commit 0064d69d90

View file

@ -13,7 +13,7 @@
</td>
</tr>
</table>
<h3>Customer: {% if creditnote.user %}{{ creditnote.user.email }}{% else %}{{ creditnote.customer }}{% endif %}</h3>
<h3>Customer: {% if creditnote.user %}{{ creditnote.user.email }}{% else %}{{ creditnote.customer|linebreaks }}{% endif %}</h3>
<br>
<h2>CREDITNOTE</h2>
<table style="width:90%; margin:1em;">