@extends('layouts.admin') @section('title', __('Orders')) @section('page_title', __('Orders')) @section('content') {{-- ═══════════════════════════════════════════════════════════ KPI Stats Cards ═══════════════════════════════════════════════════════════ --}}
طلبات اليوم

{{ $stats['today_count'] }}

إيرادات اليوم

{{ number_format($stats['today_revenue'], 0) }}

طلبات معلقة

{{ $stats['pending'] }}

تم التسليم (الشهر)

{{ $stats['delivered_month'] }}

{{-- ═══════════════════════════════════════════════════════════ Main Card ═══════════════════════════════════════════════════════════ --}}
{{ __('Orders') }}
قائمة جميع الطلبات مع إمكانية التصفية والتصدير
@can('create', App\Models\Order::class) طلب جديد @endcan
{{-- Status Filter Pills --}}
{{-- Advanced Filters --}}
{{-- Quick Date Shortcuts --}}
إجمالي مبيعات الشهر: {{ number_format($stats['total_month'], 2) }}
{{-- DataTable --}}
رقم الطلب {{ __('Customer') }} {{ __('Salesman') }} {{ __('Order Date') }} {{ __('Net Total') }} {{ __('Status') }} {{ __('Actions') }}
@endsection @push('styles') @endpush @push('scripts') @endpush