Near Miss
Contacts
Locations
@foreach ($ho_locations as $loc)
@endforeach
{{$loc->location->trading_name}} - {{$loc->location->username}}
@if (isset($loc_id) && isset($ho_locations->where('location_id',$loc_id)->first()->location) && count($ho_locations->where('location_id',$loc_id)->first()->location->NearMiss()) == 0)
@endif
No Near Miss Yet 🙂!
@else| ID | Date | Error by | Error detected by | {{--Status | --}}Point of detection | Type | @isset($loc_id) @foreach ($ho_locations->where('location_id',$loc_id)->first()->location->NearMiss() as $near_miss )
|---|---|---|---|---|---|---|
| {{$near_miss->id}} | {{$near_miss->created_at->format('d M Y h:i A')}} | {{$near_miss->error_by}} | {{$near_miss->error_detected_by}} | {{--{{$near_miss->status}} | --}}{{$near_miss->point_of_detection}} |
Contributing Factors @php $contribute_label = true; @endphp @endifWhat was error? @php $DrugsBasedOnErrorType_label = true; @endphp @endifWhat was error? @php $DrugsBasedOnErrorType_label = true; @endphp @endif |