My Orders

@forelse($orders as $order)

{{ $order->order_number }}

{{ $order->created_at->format('M d, Y \a\t h:i A') }}

{{ $order->items->count() }} item(s)

@if(in_array($order->status->value, ['confirmed', 'processing', 'completed']))

Payment: Confirmed

@elseif($order->payment)

Payment: {{ $order->payment->payment_status->label() }}

@else

Payment not submitted

@endif

{{ format_price($order->total_amount) }}

View Details → @if($order->status->value === 'pending' && (!$order->payment || $order->payment->payment_status->value !== 'confirmed'))
@csrf @method('DELETE')
@endif
@empty

You have no orders yet.

Browse Products
@endforelse
{{ $orders->links() }}