@extends('layouts.app')
@section('title', 'التحاليل والفحوصات')
@push('head')
@endpush
@php
$statusMeta = [
'requested' => ['label' => 'مطلوب', 'color' => 'info', 'icon' => 'clock'],
'in_progress' => ['label' => 'قيد التنفيذ', 'color' => 'warning', 'icon' => 'loader'],
'completed' => ['label' => 'مكتمل', 'color' => 'success', 'icon' => 'check'],
'cancelled' => ['label' => 'ملغي', 'color' => 'danger', 'icon' => 'x'],
];
@endphp
@section('content')
طلبات التحاليل الجديدة هتظهر هنا.
| المريض | التحليل | الطبيب | التاريخ | الحالة | الملف |
|---|---|---|---|---|---|
|
{{ $initials }}
{{ $name ?: '—' }}
@if($t->patient?->file_number)
{{ $t->patient->file_number }}
|
{{ $t->test_name }}
@if($t->notes)
{{ Str::limit($t->notes, 40) }}
@endif
|
د. {{ $t->doctor?->name ?? '—' }} | {{ optional($t->test_date)->format('Y-m-d') ?? '—' }} | {{ $sm['label'] }} | @if($t->file_path) @else — @endif |