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

@ -160,7 +160,7 @@
@stack('notes_input_start')
@if ($invoice->notes)
<strong>{{ trans_choice('general.notes', 2) }}</strong><br><br>
{{ $invoice->notes }}
{!! nl2br($invoice->notes) !!}
@endif
@stack('notes_input_end')
</div>
@ -199,7 +199,7 @@
<div class="row mt-1">
<div class="col-100">
<div class="text company">
<strong>{!! $invoice->footer !!}</strong>
<strong>{!! nl2br($invoice->footer) !!}</strong>
</div>
</div>
</div>