@extends('layouts.app') @section('title', 'HalaVoice AI - لوحة التحكم') @section('content')

لوحة التحكم

نظرة عامة على أداء مساعد HalaVoice AI لمتجرك

إجمالي الطلبات

{{ number_format($totalOrders ?? 0) }}

طلبات الدفع عند الاستلام: {{ number_format($codOrders ?? 0) }}

المكالمات

{{ number_format($totalCalls ?? 0) }}

تم الرد: {{ number_format($answeredCalls ?? 0) }}

رسائل واتساب

{{ number_format($messagesSent ?? 0) }}

عربات مستردة: {{ number_format($cartsRecovered ?? 0) }}

الإيرادات المستردة

{{ number_format($recoveredRevenue ?? 0, 2) }} ر.س

تحويلات للبشر: {{ number_format($humanEscalations ?? 0) }}

تأكيد الطلبات النقدية

{{ number_format($codConfirmed ?? 0) }}

تم التأكيد

{{ number_format($codCancelled ?? 0) }}

تم الإلغاء

@php $totalCod = ($codConfirmed ?? 0) + ($codCancelled ?? 0); @endphp

{{ $totalCod > 0 ? round(($codConfirmed ?? 0) / $totalCod * 100) : 0 }}%

نسبة التأكيد

معدل RTO: {{ $rtoRate }}%
وفرت: {{ number_format($rtoSavings, 0) }} ر.س

استرداد العربات المتروكة

{{ number_format($cartsRecovered ?? 0) }}

عربات مستردة

{{ number_format($recoveredRevenue ?? 0, 0) }} ر.س

إيرادات مستردة

الاتجاه الشهري (COD)

@forelse($codMonthlyStats as $stat) @php $total = $stat->confirmed + $stat->cancelled; $rate = $total > 0 ? round($stat->confirmed / $total * 100) : 0; @endphp
{{ $stat->month }}
{{ $stat->confirmed }} / {{ $stat->cancelled }} {{ $rate }}%
@empty

لا توجد بيانات كافية

@endforelse

سجل المكالمات

عرض تفاصيل المكالمات الصوتية

سجل الواتساب

عرض الرسائل المرسلة

قواعد الأتمتة

إدارة قواعد التشغيل الآلي

{{-- Demo Voice Widget Section --}}

جرّب المساعد الصوتي

اضغط على أيقونة الميكروفون في الزاوية اليمنى السفلى لتجربة HalaVoice

@endsection