@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
@foreach($attributes as $key => $value) @if(!empty($value))
{{ $key }} :  {{ is_array($value) ? collect($value)->flatten()->implode(', ') : $value }}
@endif @endforeach
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
  • VAT({{ $order->vat_percent }} %)£{{$order->vat_amount}}
  • Total£ {{ $order->grand_total }}
@endsection