@php $results=$custom_test['results']; $physical_tests=$results->skip(1)->take(8); $microscopic_tests=$results->skip(10)->take(20); @endphp
MACROSCOPIC EXAMINATION
{{-- --}} {{-- --}} @foreach($physical_tests as $result) {{-- --}} @endforeach
Physical Examination
{{__('Test')}} {{__('Result')}} {{__('Reference range')}} {{__('Status')}}
@if(!in_array($result['component']['custom_name'],['undigested_food_2','undigested_food_3'])) {{$result['component']['name']}} @endif @include('partials.custom_tests.stool.result',['result'=>$result]) @include('partials.custom_tests.degree',['result'=>$result]) @include('partials.custom_tests.stool.reference_range',['result'=>$result]) @include('partials.custom_tests.stool.status',['result'=>$result])
MICROSCOPIC EXAMINATION
{{-- --}} {{-- --}} @foreach($microscopic_tests as $result) {{-- --}} @endforeach
Microscopic Examination
{{__('Test')}} {{__('Result')}} {{__('Reference range')}} {{__('Status')}}
{{$result['component']['name']}} @include('partials.custom_tests.stool.result',['result'=>$result]) @include('partials.custom_tests.degree',['result'=>$result]) @include('partials.custom_tests.stool.reference_range',['result'=>$result]) @include('partials.custom_tests.stool.status',['result'=>$result])

{{__('Comment')}}

@include('admin.medical_reports.modals.comments')