@extends('layouts.app')
@section('title', 'أداء الأطباء')
@section('content')
غيّر النطاق الزمني أو سجّل مواعيد للأطباء.
| الطبيب | مواعيد | مكتمل | ملغي | لم يحضر | معدّل الإكمال | مرضى مختلفون | إيرادات |
|---|---|---|---|---|---|---|---|
|
{{ $i + 1 }}
{{ $initials }}
د. {{ $r->doctor_name ?? '—' }}
@if($r->specialization)
{{ $r->specialization }}
@endif
|
{{ number_format($r->total_appts) }} | {{ number_format($r->completed) }} | {{ number_format($r->cancelled) }} | {{ number_format($r->no_shows) }} |
|
{{ number_format($r->unique_patients) }} |
{{ number_format($r->revenue, 0) }}
|
| الإجمالي | {{ number_format($totals['appointments']) }} | {{ number_format($totals['completed']) }} | @php $overall = $totals['appointments'] > 0 ? round(($totals['completed'] / $totals['appointments']) * 100, 1) : 0; @endphp {{ $overall }}% | {{ number_format($totals['unique_patients']) }} |
{{ number_format($totals['revenue'], 0) }}
|
||