@if ($this->orders->isNotEmpty()) @foreach ($this->orders as $order) @php $total = $order->total() + (int) $order->shippingOption?->price; @endphp
{{ __('shopper::pages/customers.orders.placed') }}
{{ $order->created_at->translatedFormat('j F Y, H:i') }}
{{ __('shopper::pages/customers.orders.total') }}
{{ shopper_money_format($total, $order->currency_code) }}
{{ __('shopper::pages/customers.orders.ship_to') }}
{{ $order->shippingAddress->street_address }} {{ $order->shippingAddress->postal_code }}, {{ $order->shippingAddress->city }} {{ $order->shippingAddress->country_name }}
{{ __('shopper::pages/customers.orders.details') }}
{{ $order->number }}

{{ __('shopper::pages/customers.orders.items') }}

{{ $order->status->getLabel() }}
    @foreach ($order->items as $item)
  • {{ $item->name }}

    {{ $item->name }} - {{ $item->quantity }} x {{ shopper_money_format($item->unit_price_amount) }}

  • @endforeach
{{ __('shopper::words.payment_method') }}
@if ($order->paymentMethod)
@if ($order->paymentMethod->logo) payment icon @else @endif

{{ $order->paymentMethod->title }}

@else

{{ __('shopper::pages/orders.no_payment_method') }}

@endif
{{ __('shopper::words.shipping_method') }}
@if ($order->shippingOption)

{{ $order->shippingOption->name }} -

{{ shopper_money_format($order->shippingOption->price, $order->currency_code) }}
@if ($order->shippingOption->description)

{{ $order->shippingOption->description }}

@endif @else

{{ __('shopper::pages/customers.orders.no_shipping') }}

@endif

{{ __('shopper::pages/customers.orders.estimated') }} {{ __('N/A') }}

{{ __('shopper::pages/customers.orders.view') }}
@endforeach {{ $this->orders->links() }} @else @endif