Received Sample List Received Sample List {{-- Test --}} {{-- Patient listing --}}
@csrf
cancel
@foreach ($patient_list as $index => $list) @endforeach
Sr.NO PatientID Patient Name Patient Age Lab Name Test Name Sample Collection Details Received Details Status Action
{{ $index + 1 }} {{ $list->patient_uniqe_id }} {{ $list->first_name }} {{ $list->middle_name }} {{ $list->last_name }} {{ $list->age }} {{ $list->lab_name }} @php $mainCategoryIds = explode(',', $list->main_category_id); $mainCategories = \App\Models\MainCategory::whereIn('id', $mainCategoryIds)->pluck('main_category_name')->toArray(); @endphp @foreach ($mainCategories as $mainCategory) {{ $mainCategory }}
@endforeach
{{ $list->date }} {{ \Carbon\Carbon::parse($list->received_at)->format('Y-m-d H:i:s') }} {{ $list->status }} {{-- @if ($list->status == 'received') @endif --}}
{{-- reject model --}}
{{-- approved status --}}