@extends('layouts.app') @section('content')

Order #{{ $order->order_number }}

Placed on {{ $order->created_at->format('d M Y') }}
Processing
Placed
Processing
Shipped
Delivered

Ordered Items

@foreach($order->items as $item)

{{ $item->product->name ?? 'Product deleted' }}

@php $attributes = json_decode($item->custom_attribute, true); @endphp
@if(is_array($attributes)) @foreach($attributes as $key => $value) @if(!empty($value))
{{ $key }} :  @if(is_array($value)) {{ implode(', ', $value) }} @else {{ $value }} @endif
@endif @endforeach @endif
Qty : {{ $item->quantity }}
@endforeach

Delivery Address

{{$order->customerAddress->first_name.' '.$order->customerAddress->last_name}}
{{$order->customerAddress->address}} {{$order->customerAddress->apartment}} {{$order->customerAddress->city}} {{$order->customerAddress->state}}, {{$order->customerAddress->country}} - {{$order->customerAddress->zipcode}}

Phone: {{$order->customerAddress->phone}}

Payment Summary
  • Items Total£ {{ $order->total }}
  • Delivery£ 0.00
  • Tax£0.00
  • Total£ {{ $order->total }}
@endsection