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> </td>
</tr> </tr>
</table> </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> <br>
<h2>CREDITNOTE</h2> <h2>CREDITNOTE</h2>
<table style="width:90%; margin:1em;"> <table style="width:90%; margin:1em;">