allow multi-line invoice notes/footer

This commit is contained in:
Denis Duliçi
2020-07-26 20:07:07 +03:00
parent dd9e95f57e
commit 330aee0dde
6 changed files with 9 additions and 9 deletions

View File

@ -222,7 +222,7 @@
<th>
@if ($invoice->notes)
<p class="form-control-label">{{ trans_choice('general.notes', 2) }}</p>
<p class="text-muted long-texts">{{ $invoice->notes }}</p>
<p class="text-muted long-texts">{!! nl2br($invoice->notes) !!}</p>
@endif
</th>
</tr>

View File

@ -171,7 +171,7 @@
<th>
@if ($invoice->notes)
<p class="form-control-label">{{ trans_choice('general.notes', 2) }}</p>
<p class="text-muted long-texts">{{ $invoice->notes }}</p>
<p class="text-muted long-texts">{!! nl2br($invoice->notes) !!}</p>
@endif
</th>
</tr>