@if(count($note_history)!=0) @foreach ($note_history as $note)
{{ $note->id}}
{{--

{{ isset($note['appt_type_name']) ? $note['appt_type_name'] : '-' }} {{ date('d/m/y h:i a',strtotime($note['created_at'])) ?? "" }}

--}}

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

{{ $docter_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 @endif @if(count($note_history)==0)
No Results found
@endif