@php $tabs = [
'all' => __('All'),
'active' => __('Active'),
'completed' => __('Completed'),
'cancelled' => __('Cancelled'),
]; @endphp
@isset($dbUnavailable)
@if($dbUnavailable)
{{ __('orders.order_history_unavailable') }}
@endif
@endisset
@if($orders->count() === 0)
{{ __('You have not placed any orders yet.') }}
@else
| {{ __('#') }} |
{{ __('Date') }} |
{{ __('Total') }} |
{{ __('Status') }} |
{{ __('Actions') }} |
@foreach($orders as $order)
| #{{ $order->id }} |
{{ $order->created_at->format('d M Y H:i') }} |
₦{{ number_format((float)$order->total, 2) }} |
|
{{ __('View') }}
|
@endforeach
{{ $orders->links() }}
@endif