تقرير أداء الجهاز

{{ (! \App\Support\DeviceFieldCrypto::looksLikeJwe($device->name) && $device->name) ? $device->name : $device->code }} ({{ $device->code }})
الفترة: {{ $from->format('Y-m-d') }} إلى {{ $to->format('Y-m-d') }}
تاريخ الإصدار: {{ $generatedAt->format('Y-m-d H:i') }}
@if (! $hasData)
لم يتم تسجيل أي طلبات لهذا الجهاز خلال الفترة المحددة.
@else
المؤشرات الرئيسية
{{ $kpis['total'] }}
إجمالي الطلبات
@if ($deltas['total'])
{{ $deltas['total']['direction'] === 'up' ? '▲' : ($deltas['total']['direction'] === 'down' ? '▼' : '—') }} {{ abs($deltas['total']['diff']) }} عن الفترة السابقة
@endif
{{ $kpis['completed_pct'] !== null ? $kpis['completed_pct'].'%' : '—' }}
نسبة الإكمال
@if ($deltas['completion_rate'])
{{ $deltas['completion_rate']['direction'] === 'up' ? '▲' : ($deltas['completion_rate']['direction'] === 'down' ? '▼' : '—') }} {{ abs($deltas['completion_rate']['diff']) }} نقطة
@endif
{{ $kpis['avg_response'] }}
متوسط زمن الاستجابة
{{ $kpis['uptime'] }}
نسبة نشاط الجهاز
{{ $kpis['failed'] }}
طلبات فاشلة
الخلاصة
{{ $summary }}
توزيع الحالات
@foreach ([ ['label' => 'مكتمل', 'count' => $kpis['completed'], 'pct' => $kpis['completed_pct']], ['label' => 'فشل', 'count' => $kpis['failed'], 'pct' => $kpis['failed_pct']], ['label' => 'ملغي', 'count' => $kpis['cancelled'], 'pct' => $kpis['cancelled_pct']], ['label' => 'قيد الانتظار', 'count' => $kpis['pending'], 'pct' => $kpis['pending_pct']], ] as $row) @endforeach
الحالة العدد النسبة
{{ $row['label'] }} {{ $row['count'] }} {{ $row['pct'] !== null ? $row['pct'].'%' : '—' }}
التوزيع حسب نوع الطلب
@foreach ($byType as $row) @endforeach
نوع الطلب عدد الطلبات عدد المكتمل نسبة الإكمال
{{ $row['name'] }} {{ $row['count'] }} {{ $row['completed'] }} {{ $row['rate'] }}%
سجل الطلبات التفصيلي
@foreach ($requestsTable as $row) @endforeach
# النوع الحالة تاريخ الإنشاء تاريخ الرد مدة الاستجابة
{{ $row['id'] }} {{ $row['type'] }} {{ $row['status_label'] }} {{ $row['created'] }} {{ $row['responded'] }} {{ $row['duration'] }}
@endif