@extends('admin.layouts.app') @section('title', 'Marketplace orders — ExtraCash Admin') @section('page-title', 'Orders') @section('breadcrumb', 'Product sales across all buyers & sellers') @section('content')
{{ $orders->total() }} order(s)
@forelse($orders as $order) @empty @endforelse
Reference Product Qty Buyer Seller Gross Status Date
{{ $order->reference }} {{ $order->product?->title ?? '—' }} {{ $order->quantity ?? 1 }} {{ $order->buyer?->name ?? '—' }} {{ $order->seller?->name ?? '—' }} ZMW {{ number_format($order->gross_amount, 2) }} {{ $order->status }} {{ $order->created_at->format('M d, Y H:i') }}
No marketplace orders yet
@if($orders->hasPages())
{{ $orders->withQueryString()->links() }}
@endif
@endsection