{{-- --}}
@foreach ($case_contacts as $key => $case_contact)
@php $contact = $case_contact->contact; @endphp
@endforeach
{{-- Location --}}
@include('head_office.intelligence.site_cards')
{{-- linked cases --}}
@php
$all_linked_contacts = $case->linked_contacts->map(function ($con) {
return $con->contact;
})->filter()
->unique('id')
->values();
@endphp
{{-- here is contact card --}}
@include('head_office.intelligence.contact_cards')
{{-- Organization card --}}
@include('head_office.intelligence.company_cards')
{{-- here is addresss card --}}
@include('head_office.intelligence.address_cards')
@foreach ($case_contacts as $k => $case_contact)
@php $contact = $case_contact->contact; @endphp
@endforeach
{{-- location cases --}}
{{-- Linked cases --}}
{{-- Linked Contacts --}}
@if ($contact->conatact_patient) Patient Cases @elseif($contact->conatact_prescriber) Health Care Professional Cases @endif
@php $data = count($contact->contact_cases) @endphp
@foreach ($contact->contact_cases as $c)
@if ($c->case->linked_location_incident->incident->form)
case->linked_location_incident->incident->form->color_code) style="background-color: {{ $c->case->linked_location_incident->incident->form->color_code }}" @endif>
@endif
@endforeach
{{ $c->case->linked_location_incident->incident->form->name }}
{{ $c->case->created_at->format(config('app.dateFormat')) }}
Location Cases
Periods
It is testing server, it may take a few seconds to load timeline...
No Data Found
Linked Cases
@if (count($case->allLinkedCases()) != 0)
There are no linked cases
@endif
@livewire('intelligence-contact-matches')
{{-- Reported cases --}}
@if (count($all_linked_contacts) > 0)
@endif
Cases History
{{-- herer we display JS Response --}}