@extends('layouts.app') @section('title', 'Etsy shop') @section('content')
Sales
Paid orders awaiting dispatch and active listings.
Awaiting dispatch
{{ count($receipts) }}
Active listings shown
{{ count($listings) }}
| Receipt | Buyer | Placed | Total |
|---|---|---|---|
| #{{ $receipt['receipt_id'] ?? '—' }} | {{ $receipt['name'] ?? $receipt['buyer_email'] ?? 'Buyer' }} | {{ isset($receipt['create_timestamp']) ? \Illuminate\Support\Carbon::createFromTimestamp($receipt['create_timestamp'])->format('d M Y') : '—' }} | {{ isset($receipt['grandtotal']['amount']) ? ($receipt['grandtotal']['currency_code'] ?? 'GBP').' '.number_format((float) $receipt['grandtotal']['amount'] / max(1, (int) ($receipt['grandtotal']['divisor'] ?? 100)), 2) : '—' }} |
| No paid orders awaiting dispatch. | |||
No listings returned.
@endforelse