@extends('admin.layout') @section('content')
| ID | Item | Buyer | Seller | Amount | Fee | Total | Status | Date |
|---|---|---|---|---|---|---|---|---|
| #{{ $purchase->id }} |
{{ $purchase->listing->title ?? '—' }} {{ $purchase->listing->brand ?? '' }} |
{{ $purchase->buyer->name ?? '—' }} | {{ $purchase->seller->name ?? '—' }} | £{{ number_format($purchase->amount, 2) }} | £{{ number_format($purchase->service_fee, 2) }} | £{{ number_format($purchase->total, 2) }} | @if($purchase->status === 'paid') Paid @elseif($purchase->status === 'pending') Pending @else {{ $purchase->status }} @endif | {{ $purchase->created_at->format('d M Y') }} |
| No purchases yet | ||||||||