@extends('layouts.admin') @section('title','Orders') @section('page-title','Order Management') @section('content')
@foreach(['','pending','under_review','processing','completed','rejected','cancelled'] as $s) {{ $s ?: 'All' }} @endforeach
@forelse($orders as $order) @empty @endforelse
Order ID User Asset / Amount Payout Status Date Action
{{ $order->order_id }}

{{ $order->user->name }}

{{ $order->user->email }}

{{ $order->asset_type }}

{{ number_format($order->amount, 6) }}

₦{{ number_format($order->calculated_payout, 0) }} {{ $order->status }} {{ $order->created_at->format('M d, H:i') }}
@if($order->proof_file_path) attachment @endif @if($order->chatThread) chat_bubble @endif
No orders match this filter.
{{ $orders->links() }}
@endsection @push('scripts') @endpush