@extends('layouts.app') @section('title', $order->order_number) @section('content')

{{ $order->order_number }}

View invoice

Items

@foreach($order->items as $item)
{{ $item->product_name }} x {{ $item->quantity }}@money($item->line_total)
@endforeach

Status: {{ $order->status }}

Payment: {{ $order->payment_status }}

Delivery: {{ $order->shipping_method_name ?: $order->shippingMethod?->name ?: 'Not assigned' }}

@if($order->trackingUrl())

Track order

@endif
@if($order->canBeCancelledByCustomer())
@csrf
@endif
@csrf
@endsection