{{ __('My Orders') }}

@php $tabs = [ 'all' => __('All'), 'active' => __('Active'), 'completed' => __('Completed'), 'cancelled' => __('Cancelled'), ]; @endphp
@foreach($tabs as $key=>$label) {{ $label }} @endforeach
@foreach(request()->except(['q','page']) as $k=>$v) @endforeach @if(($q ?? '') !== '') @endif
@isset($dbUnavailable) @if($dbUnavailable)
{{ __('orders.order_history_unavailable') }}
@endif @endisset @if($orders->count() === 0)

{{ __('You have not placed any orders yet.') }}

@else
@foreach($orders as $order) @endforeach
{{ __('#') }} {{ __('Date') }} {{ __('Total') }} {{ __('Status') }} {{ __('Actions') }}
#{{ $order->id }} {{ $order->created_at->format('d M Y H:i') }} ₦{{ number_format((float)$order->total, 2) }} {{ __('View') }}
{{ $orders->links() }}
@endif