@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') == 1 || session('role') == 2)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

Samples List - Analyzed & Ready Tests

@foreach($samples as $sample) @php $show = true; @endphp @if(session('hospital_id') == $sample->eNDUSERLABORDER->HOSPITAL_ID || session('role') == 4) @php $show = true; @endphp @endif @if($show == true) @endif @endforeach
Test ID Patient Mobile No. Hospital Collection Time Pre Infection/Contact ? Have Symptoms ? Status Result
{{$sample->ID}} {{$sample->NAME}} {{$sample->MOBILE_NUMBER}} @if(!empty($sample->eNDUSERLABORDER->HOSPITAL->NAME_EN)){{$sample->eNDUSERLABORDER->HOSPITAL->NAME_EN}}@else On Company's Site @endif {{$sample->COLLECTION_TIME}} {{$sample->HASÙ€COVID_CONTACT == 1 ? "Yes" : "No"}} {{$sample->HAS_SYMTOMPS == 1 ? "Yes" : "No"}} {{$sample->lABORDERSTATU->DESC_EN}} @if(empty($sample->lABCATEGORYPACKAGE->TEST_TYPE) || $sample->lABCATEGORYPACKAGE->TEST_TYPE == 1) @if(!empty($sample->RESULT)) {{$sample->RESULT == 1 ? "Negative" : "Positive"}} @endif @else {{$sample->DECIMAL_RESULT}} @endif
@endsection