عيادة سمارت كير
رقم الطلب: {{ $req->request_number ?? ('SR-'.($req->created_at?->format('ymd')).'-'.$req->id) }}
المريض: {{ $req->patient->name }}
الجوال: {{ $req->patient->mobile }}
التاريخ: {{ optional($req->created_at)->timezone('Africa/Cairo')->format('Y-m-d H:i') }}
الفئة: {{ ['lab'=>'معمل','xray'=>'أشعة','other'=>'أخرى'][$req->category] ?? $req->category }}
الحالة: {{ ['pending'=>'قيد الانتظار','in_progress'=>'قيد التنفيذ','completed'=>'مكتمل','cancelled'=>'ملغي'][$req->status] ?? $req->status }}
@forelse(($req->items ?? []) as $item) @empty @endforelse
الخدمة التكلفة (ج.م)
{{ $item->name }} {{ number_format((float)$item->cost, 2) }}
لا توجد خدمات مسجلة
الإجمالي {{ number_format((float)$req->cost, 2) }} ج.م
المدفوع {{ number_format((float)$req->paid_amount, 2) }} ج.م
المتبقي {{ number_format(max(0, (float)$req->cost - (float)$req->paid_amount), 2) }} ج.م
@if(!empty($req->result_file_path))
نتيجة التحليل: عرض/تحميل الملف
@endif
شكراً لزيارتكم عيادة سمارت كير