Admin Transactions
Orders
View and manage all platform transactions and refunds
{{-- Stats Row --}}
Total Volume (Paid)
${{ number_format($stats['total_volume'] ?? 0, 2) }}
Total Transactions
{{ number_format($stats['total_orders'] ?? 0) }}
Refunded Orders
{{ number_format($stats['refunded_count'] ?? 0) }}
{{-- Main DataTable --}}
@forelse ($orders as $order) @empty @endforelse
Order ID Date Customer Items Amount Status Actions
#{{ substr($order->ulid, 0, 8) }} {{ $order->created_at->format('M d, Y h:ia') }}
{{ $order->user->name ?? 'Deleted User' }}
{{ $order->items->count() }} item(s) ${{ number_format($order->total, 2) }} @php $statusLabel = $order->status; if ($order->status === 'failed') { $statusLabel = 'rejected'; } $sClass = match($order->status) { 'paid' => 'badge-paid', 'refunded', 'failed' => 'badge-refunded', default => 'badge-pending' }; @endphp {{ strtoupper($statusLabel) }} View Details
No orders found matching your criteria.
{{-- Pagination Wrapper --}} @if($orders->hasPages()) @endif