@extends('user.layouts.app', ['title' => 'Sandbox Payout Orders']) @push('head') @endpush @section('content') @php $pageAmount = $orders->sum('amount'); $completedCount = $orders->where('status', 1)->count(); $pendingCount = $orders->where('status', 0)->count(); $failedCount = $orders->where('status', 2)->count(); @endphp
Sandbox / Payout Orders

Sandbox Payout Orders

Visible Amount
Rs {{ number_format((float) $pageAmount, 2) }}
Pending
{{ $pendingCount }}
Failed
{{ $failedCount }}
Sandbox Payout List
{{ $orders->total() }} sandbox payout orders found
@forelse ($orders as $order) @php $statusLabel = match ((int) $order->status) { 1 => 'Completed', 2 => 'Failed', default => 'Pending' }; $statusClass = match ((int) $order->status) { 1 => 'success', 2 => 'danger', default => 'warning' }; @endphp @empty @endforelse
Order ID Wallet Order ID Amount Wallet Type Status Created Time
{{ $order->order_id ?: 'N/A' }}
{{ $order->utr ?: 'No UTR' }}
{{ $order->wallet_order_id ?: 'N/A' }} Rs {{ number_format((float) $order->amount, 2) }} {{ $order->wallet_type ? ucfirst($order->wallet_type) : 'N/A' }} {{ $statusLabel }} {{ $order->created_at?->format('d M Y, h:i A') ?: '-' }}
No sandbox payout orders found for the current filters.
{{ $orders->links() }}
@endsection