{{ __('dashboard.sales_report') }}

{{ __('dashboard.view_and_analyze_your_sales_performance') }}

{{-- Filters --}}
{{ __('dashboard.start_date') }}
{{ __('dashboard.end_date') }}
{{ __('dashboard.branch') }} @foreach($branches as $branch) @endforeach
{{-- Summary --}}

{{ __('dashboard.total_revenue') }}

{{ currency($totalSales) }}

{{ __('dashboard.total_orders') }}

{{ $totalOrders }}

{{-- Table --}}
@forelse($orders as $order) @empty @endforelse
{{ __('dashboard.id') }} {{ __('dashboard.date') }} {{ __('dashboard.branch') }} {{ __('dashboard.customer') }} {{ __('dashboard.delivery_fee') }} {{ __('dashboard.total') }}
#{{ $order->id }} {{ $order->created_at->format('M d, Y H:i') }} {{ $order->branch->name ?? '-' }} {{ $order->customer_name ?? 'Guest' }} {{ $order->delivery_fee ?? '-' }} {{ currency($order->total) }}
No orders found for the selected criteria.
{{ $orders->links() }}