@extends('layouts.admin') @section('title', __('Dashboard')) @section('page_title', 'لوحة التحكم - ' . auth()->user()->name) @section('content')
هذه إحصائياتك الشخصية كمندوب طلب جديد تسجيل زيارة
@include('dashboard._kpi', ['label' => 'طلباتي اليوم', 'value' => $kpis['orders_today'], 'color' => 'primary', 'icon' => 'cart', 'sub' => 'طلب']) @include('dashboard._kpi', ['label' => 'طلباتي الشهر', 'value' => $kpis['orders_month'], 'color' => 'info', 'icon' => 'cart-check', 'sub' => 'طلب']) @include('dashboard._kpi', ['label' => 'مبيعاتي الشهر', 'value' => number_format($kpis['sales_month'], 0), 'color' => 'success', 'icon' => 'cash-stack', 'sub' => 'ج.م']) @include('dashboard._kpi', ['label' => 'طلبات معلقة', 'value' => $kpis['pending_orders'], 'color' => 'warning', 'icon' => 'clock', 'sub' => 'في الانتظار'])
@include('dashboard._kpi', ['label' => 'زيارات اليوم', 'value' => $kpis['visits_today'], 'color' => 'light text-dark', 'col' => 4, 'icon' => 'geo-alt', 'sub' => 'زيارة']) @include('dashboard._kpi', ['label' => 'زيارات الشهر', 'value' => $kpis['visits_month'], 'color' => 'light text-dark', 'col' => 4, 'icon' => 'calendar', 'sub' => 'زيارة']) @include('dashboard._kpi', ['label' => 'عملاء منطقتي', 'value' => $kpis['customers_count'],'color' => 'light text-dark', 'col' => 4, 'icon' => 'people', 'sub' => 'عميل نشط'])
مبيعاتي - آخر 30 يوم
أكثر 5 منتجات بعتها (الشهر)
@forelse($topProducts as $p) @empty @endforelse
{{ $p->name }} {{ $p->qty }} {{ number_format($p->total, 2) }}
لا توجد بيانات
آخر طلباتي
@forelse($recentOrders as $o) @empty @endforelse
رقم الطلبالعميلالتاريخ{{ __('Net Total') }}{{ __('Status') }}
{{ $o->order_number }} {{ $o->customer?->name }} {{ $o->order_date->format('d/m/Y') }} {{ number_format((float) $o->net_total, 2) }} {!! $o->status_badge !!}
ليس لديك طلبات بعد
@endsection @push('scripts') @endpush