{{ __('Order History') }}

{{ __('A complete record of all plan assignments and purchases.') }}

{{ __('Reset') }}

{{ __('Order Directory') }}

Showing {{ $orders->count() }} of {{ $orders->total() }} entries.

@forelse($orders as $order) @empty @endforelse
{{ __('Order #') }} {{ __('Plan / Description') }} {{ __('User') }} {{ __('Amount') }} {{ __('Status') }} {{ __('Date') }} {{ __('Actions') }}
{{ $order->order_number }}

{{ $order->plan?->name ?? __('Free Plan') }}

{{ $order->payment_method ?: __('System') }}

{{ $order->user->name }} {{ $order->currency }} {{ number_format($order->amount, 2) }} @php $statusClasses = match($order->status) { 'completed' => 'bg-emerald-500/10 text-emerald-500', 'pending' => 'bg-amber-500/10 text-amber-500', 'failed' => 'bg-rose-500/10 text-rose-500', default => 'bg-muted/10 text-muted' }; @endphp {{ $order->status }} {{ $order->created_at->format('M d, Y') }}

{{ __('No orders found matching your criteria.') }}

{{ $orders->links() }}