@foreach($notes as $note)
{{ Carbon\Carbon::parse($note['date'])->format('d/m/y') }}

{{ isset($note['appt_type_name']) ? $note['appt_type_name'] : '-' }}

{{ $practitioner->full_name ?? "" }}

@php $block="display:block"; $none="display:none"; @endphp

Assessment

{!! isset($note['assessment']) ? nl2br($note['assessment']) : '-' !!}

Treatment

{!! (isset($note['treatment']) ? nl2br($note['treatment']) : '-') !!}

Recommendations

{!! isset($note['recommendations']) ? nl2br($note['recommendations'] ) : '-' !!}

@php $practitionerNoteFile=App\Models\PractitionerNoteFile::where('note_id',$note['id'])->get(); @endphp @if(count($practitionerNoteFile)) @foreach ($practitionerNoteFile as $f) @endforeach @endif @php $practitionerNote=App\Models\PractitionerPrescribedProduct::where('note_id', $note['id'])->get(); @endphp @if(count($practitionerNote))

Prescribed Products

@foreach ($practitionerNote as $f)
{{--

Prescribrd Products

--}}

{{ $f->notes_product_name->product_name ?? "" }}

{{ $f->suggested_use ?? "" }}

@endforeach @endif
@endforeach