@extends('layouts.app') @section('title', 'Sales Report') @section('content')
{{ $user->name }} • {{ $dateRange['label'] }}
| Date/Time | Order ID | Customer | Products | Platform | Total |
|---|---|---|---|---|---|
|
{{ $order['date'] }}
{{ $order['time'] }}
|
{{ $order['order_number'] }} |
{{ $order['customer_name'] }}
{{ $order['phone'] }}
{{ $order['address'] }}
|
@foreach($order['products'] as $product)
{{ $product['name'] }} x {{ $product['quantity'] }}
(RM{{ number_format($product['price'], 2) }})
@endforeach
|
{{ $order['platform'] }}
{{ $order['status'] }}
|
RM {{ number_format($order['total'], 2) }} |
| No orders found for this period. | |||||
| Total: | RM {{ number_format($statistics['total_revenue'], 2) }} | ||||