{{ $card['title'] }}
{{ $card['value'] }}
@extends('admin.layouts.index', ['without_card' => true]) @section('content') @php $operationCards = [ ['title' => 'متوسط زمن الاستجابة', 'value' => $statistics['operation']['avg_response_time'], 'icon' => 'i-Clock'], ['title' => 'معدل إنجاز العمليات', 'value' => $statistics['operation']['completion_rate'].'%', 'icon' => 'i-Yes'], ['title' => 'متوسط مدة التوصيل', 'value' => $statistics['operation']['avg_delivery_duration'], 'icon' => 'i-Scooter'], ['title' => 'عدد العملاء الذين تم خدمتهم', 'value' => number_format($statistics['operation']['served_customers']), 'icon' => 'i-Add-User'], ['title' => 'الطلبات المكتملة/المغلقة', 'value' => number_format($statistics['operation']['closed_orders']), 'icon' => 'i-Checkout-Basket'], ['title' => 'الطلبات المرفوضة أو الملغاة', 'value' => number_format($statistics['operation']['failed_orders']), 'icon' => 'i-Close'], ['title' => 'معدل تحويل الطلبات', 'value' => $statistics['operation']['conversion_rate'].'%', 'icon' => 'i-Line-Chart'], ['title' => 'نجاح تهيئة العملاء الجدد', 'value' => $statistics['operation']['onboarding_success_rate'].'%', 'icon' => 'i-Checked-User'], ]; $customerCards = [ ['title' => 'عدد شكاوى العملاء', 'value' => number_format($statistics['customer']['complaints']), 'icon' => 'i-Speach-Bubble-3'], ['title' => 'معدل الاحتفاظ بالعملاء', 'value' => $statistics['customer']['retention_rate'].'%', 'icon' => 'i-Repeat-3'], ['title' => 'متوسط قيمة سلة العميل', 'value' => number_format($statistics['customer']['avg_basket'], 2).' ر.س', 'icon' => 'i-Shopping-Cart'], ['title' => 'نسبة طلبات الموظفين', 'value' => $statistics['customer']['employee_orders_rate'].'%', 'icon' => 'i-Business-ManWoman'], ['title' => 'نسبة طلبات نزلاء الفنادق', 'value' => $statistics['customer']['hotel_guest_orders_rate'].'%', 'icon' => 'i-Hotel'], ]; $financialCards = [ ['title' => 'إجمالي الإيرادات المحققة', 'value' => number_format($statistics['financial']['total_revenue'], 2).' ر.س', 'icon' => 'i-Financial'], ['title' => 'إيرادات الخدمات الرقمية', 'value' => number_format($statistics['financial']['digital_services_revenue'], 2).' ر.س', 'icon' => 'i-Money-2'], ['title' => 'تكلفة التشغيل لكل معاملة', 'value' => number_format($statistics['financial']['operation_cost_per_transaction'], 2).' ر.س', 'icon' => 'i-Receipt-4'], ]; @endphp {{--
الطلب الذاتي (اطلب واستلم)
طلبات التوصيل
الدفع الإلكتروني
الدفع النقدي (الكاش)
| المندوب | عمليات التوصيل المنجزة | الإنتاجية | متوسط مدة التوصيل |
|---|---|---|---|
| {{ $captain['name'] }} | {{ number_format($captain['completed_deliveries']) }} | {{ number_format($captain['productivity']) }} | {{ $captain['avg_delivery_duration'] }} |
| لا توجد بيانات خلال الفترة المحددة | |||
| الجهة | مكتملة | مرفوضة/ملغاة | التحويل | POS | الأعلى طلبًا |
|---|---|---|---|---|---|
| {{ $store['title'] }} | {{ number_format($store['completed_orders']) }} | {{ number_format($store['failed_orders']) }} | {{ $store['conversion_rate'] }}% | {{ number_format($store['pos_orders']) }} | {{ number_format($store['total_orders']) }} |
| لا توجد بيانات خلال الفترة المحددة | |||||