@extends('layouts.admin') @section('title', 'Reports') @section('styles') @endsection @section('content') @php $currencySymbol = \App\Models\AppSetting::getValue('currency_symbol', '₹'); $statusLabels = \App\Models\Order::getStatuses(); $paymentStatusLabels = \App\Models\Order::getPaymentStatuses(); @endphp
Track platform revenue, store momentum, payout exposure, driver batching, and real order behavior across your selected reporting window.
| Driver | Route-Matched Orders | Batch Groups |
|---|---|---|
| {{ $driverMetric['driver_name'] }} | {{ $driverMetric['route_matched_orders'] }} | {{ $driverMetric['bundles'] }} |
| No route-matched batches found for the selected range. | ||
| Store | Orders | Sales |
|---|---|---|
| {{ $restaurant->name }} | {{ $restaurant->orders_count }} | {{ $currencySymbol }}{{ number_format((float) $restaurant->sales_total, App\Models\AppSetting::currencyDecimals()) }} |
| No stores found for the selected filters. | ||
| Driver | Orders | Earnings |
|---|---|---|
| {{ $driver->name }} | {{ $driver->orders_count }} | {{ $currencySymbol }}{{ number_format((float) $driver->earnings_total, App\Models\AppSetting::currencyDecimals()) }} |
| No driver data found for the selected filters. | ||
| Order | Store | Customer | Status | Payment | Admin Commission | Total | Date |
|---|---|---|---|---|---|---|---|
|
{{ $order->order_number }}
{{ strtoupper($order->payment_method ?? 'N/A') }}
|
{{ $order->restaurant?->name ?? 'N/A' }} | {{ $order->customer?->name ?? $order->customer_name ?? 'N/A' }} | {{ ucfirst(str_replace('_', ' ', $order->status)) }} | {{ ucfirst($order->payment_status) }} | {{ $currencySymbol }}{{ number_format((float) ($order->admin_commission ?? 0), App\Models\AppSetting::currencyDecimals()) }} | {{ $currencySymbol }}{{ number_format((float) $order->total, App\Models\AppSetting::currencyDecimals()) }} | {{ optional($order->created_at)->format('d M Y, h:i A') }} |
| No orders found for the selected filters. | |||||||