@extends('layouts.admin') @section('title', __('Dashboard')) @section('page_title', __('Dashboard') . ' - ' . $kpis['zone_name']) @section('content')
أنت تشاهد بيانات منطقة {{ $kpis['zone_name'] }} فقط
@include('dashboard._kpi', ['label' => 'مبيعات اليوم', 'value' => number_format($kpis['sales_today'], 0), 'color' => 'primary', 'icon' => 'graph-up', 'sub' => 'ج.م']) @include('dashboard._kpi', ['label' => 'مبيعات الشهر', 'value' => number_format($kpis['sales_month'], 0), 'color' => 'success', 'icon' => 'calendar-month', 'sub' => 'ج.م']) @include('dashboard._kpi', ['label' => 'طلبات معلقة', 'value' => $kpis['orders_pending'], 'color' => 'warning', 'icon' => 'clock', 'sub' => 'طلب']) @include('dashboard._kpi', ['label' => 'الذمم المتأخرة', 'value' => number_format($kpis['overdue_total'], 0), 'color' => 'danger', 'icon' => 'exclamation-triangle', 'sub' => 'ج.م'])
@include('dashboard._kpi', ['label' => 'عملاء المنطقة', 'value' => $kpis['customers_count'], 'color' => 'light text-dark', 'col' => 4, 'icon' => 'people', 'sub' => 'عميل']) @include('dashboard._kpi', ['label' => 'مناديب المنطقة', 'value' => $kpis['salesmen_count'], 'color' => 'light text-dark', 'col' => 4, 'icon' => 'person-badge', 'sub' => 'مندوب']) @include('dashboard._kpi', ['label' => 'إجمالي طلبات اليوم','value' => $kpis['orders_pending'], 'color' => 'light text-dark', 'col' => 4, 'icon' => 'cart', 'sub' => 'تحت المتابعة'])
المبيعات في المنطقة - آخر 30 يوم
أعلى 5 عملاء (الشهر)
@forelse($topCustomers as $c) @empty @endforelse
{{ $c->name }}{{ number_format($c->total, 2) }}
لا توجد بيانات
أداء مناديب المنطقة (الشهر)
@forelse($salesmenPerf as $s) @empty @endforelse
المندوبعدد الطلباتالإجمالي
{{ $s->name }}{{ $s->count }}{{ number_format($s->total, 2) }}
لا يوجد نشاط
@endsection @push('scripts') @endpush