@extends('admin.layouts.master') @section('title', 'لوحة التحكم') @section('css') {{-- CSS إضافي لو حابب --}} @endsection @section('content')
عيادة: {{ $user->clinic?->name ?? '-' }} @if($user->branch) — فرع: {{ $user->branch->name }} @endif
نظرة سريعة على أداء المركز اليوم.إجمالي المرضى
مرضى جدد اليوم
مواعيد اليوم
فواتير الشهر الحالي
زيارات اليوم المكتملة
الأطباء النشطين
| # | المريض | الدكتور | التاريخ | الوقت | الحالة |
|---|---|---|---|---|---|
| {{ $app->id }} | {{ $app->patient?->first_name ?? $app->patient?->name ?? '-' }} | {{ $app->doctor?->user?->name ?? '-' }} | {{ $app->appointment_date->format('Y-m-d') }} | {{ \Carbon\Carbon::parse($app->start_time)->format('h:i A') }} | @php $status = $app->status; $badgeClass = match ($status) { 'confirmed' => 'success', 'pending' => 'warning', 'cancelled' => 'danger', default => 'secondary', }; @endphp {{ $status }} |
| لا توجد مواعيد مسجلة. | |||||