@php $catMeta = app(\App\Http\Controllers\Backend\CasesController::class)->categoryPanelMeta($bill, $category); $noteHtml = \App\Support\RichTextSanitizer::cleanClinicalNotes($catMeta['note'] ?? ''); $looksLikeHtml = $noteHtml !== '' && str_contains($noteHtml, '<'); @endphp @if ($noteHtml !== '' || $catMeta['remarks'] !== '' || $catMeta['advice'] !== '')
{{ $noteHtml }}
@endif @endif @if ($catMeta['remarks'] !== '')Remarks: {{ $catMeta['remarks'] }}
@endif @if ($catMeta['advice'] !== '')Advice: {{ $catMeta['advice'] }}
@endif