Orders

{{ number_format($counts->sum()) }} orders{{ $range ? ' in range' : '' }}
@foreach (['' => 'All time', 'today' => 'Today', '7d' => '7 days', '30d' => '30 days'] as $k => $l)@endforeach
@foreach ($statuses as $s) @endforeach
@if ($orders->isEmpty())

No orders {{ $search ? 'match "'.$search.'"' : 'yet' }}.

@else OrderCustomerProductsAmountPaymentFulfilmentDate @foreach ($orders as $o) {{ $o->number }} {{ $o->customer_name }}{{ $o->email }} @foreach ($o->items->take(5) as $i)@endforeach{{ $o->items->sum('quantity') }} {{ money($o->total) }} {{ $o->payment_status->label() }} {{ $o->status->label() }} {{ $o->created_at->format('j M, H:i') }} @endforeach
{{ $orders->links() }}
@endif