@extends('layouts.account')
@section('title', __('storefront.account.nav_orders'))
@section('account')
{{ __('storefront.account.nav_orders') }}
@if ($orders->isEmpty())
{{ __('storefront.orders.empty') }}
{{ __('storefront.orders.shop_now') }}
@else
{{-- A list, not a table, so each order can stack on mobile. The column
headings are visual only; each cell carries its own sr-only label. --}}
@foreach ($orders as $order)
-
{{ __('storefront.orders.date') }}:
{{ $order->placed_at->format('d/m/Y') }}
{{ __('storefront.orders.number') }}:
#{{ $order->reference }}
{{ __('storefront.orders.status') }}:
{{ __('storefront.orders.total') }}:
{{ $order->total?->formatted() }}
{{ __('storefront.orders.view') }}
@endforeach
@endif
@endsection