@extends('common.index') @section('content')

Sample Collection Details

@if(session('error'))
@endif @if(session('success'))
@endif

Patient Test Information

@if($cart_item_details->test_type=='Single') @endif @if ($cart_item_details->test_type=='Package') @php $ids =explode(',',$cart_item_details->test_ids); $test_items = App\Models\LaboratoryTest::whereIn('id',$ids)->get(); @endphp @endif
Name: {{$cart_item_details->name}} Age: {{$cart_item_details->age}} Patient_code: {{$cart_item_details->patient_code}}
Test/Package Name: {{$cart_item_details->test_name}}
Instruction: {{$cart_item_details->description}} @foreach ($test_items as $item) @endforeach
Following tests are include in this package
Test Name: {{$item->name}} Instruction: {{$item->description}}
@endsection