Rejected Sample List Rejected Sample List {{-- Test --}} {{-- Patient listing --}}
@csrf
cancel
@foreach ($patient_list as $index => $list) @if ($list->status == 'rejected' && $list->first_approval_status == 'pending') @endif @if ($list->status == 'rejected' && $list->first_approval_status == 'rejected') @endif @endforeach
Sr.NO PatientID Patient Name Patient Age Lab Name Test Name Sample Collection Details Status Remark Rejected By
{{ $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 }} {{ $list->status }} {{ $list->remark }}{{ $list->patient_approval_by }}{{ $list->first_approval_by }}