@foreach($tests as $test) @foreach($test['components'] as $component) @if(count($component['reference_ranges'])) @foreach($component['reference_ranges'] as $reference_range) @endforeach @else @endif @endforeach @endforeach
Category Sample type Test name Shortcut Component name Unit Gender Age from days Age to days Normal from Normal to Reference range Equation Precautions Duration Duration unit To lab Price
{{$test['category']['name']}} {{$test['sample_type']['name']}} {{$test['name']}} {{$test['shortcut']}} {{$component['name']}} {{$component['unit']}} {{$reference_range['gender']}} {{$reference_range['age_from_days']}} {{$reference_range['age_to_days']}} {{$reference_range['normal_from']}} {{$reference_range['normal_to']}} {{$component['reference_range']}} {{$component['equation']}} {{$component['precautions']}} {{$component['duration']}} {{$component['duration_unit']}} {{$component['to_lab']['name']}} {{$test['price']}}
{{$test['category']['name']}} {{$test['sample_type']['name']}} {{$test['name']}} {{$test['shortcut']}} {{$component['name']}} {{$component['unit']}} {{$component['equation']}} {{$component['precautions']}} {{$component['duration']}} {{$component['duration_unit']}} {{$component['to_lab']['name']}} {{$test['price']}}