@extends('layouts.public') @section('title', $order->order_id . ' — MuveOne') @section('content')

Order {{ $order->order_id }}

{{ $order->from_address }} → {{ $order->to_address }} · {{ $order->size }} m³

@if (session('checkout_error'))
{{ session('checkout_error') }}
@endif
Status

{{ $order->order_state->label() }}

@if ($order->order_state->value === 'cancelled')

This order has been cancelled. No further payments are due.

@elseif ($order->order_state->value === 'deposit_pending')
@csrf
@elseif ($order->order_state->value === 'balance_pending')
@csrf
@endif
@if ($updates->isNotEmpty())
Updates @foreach ($updates as $update)

{{ $update->created_at->format('d/m/Y H:i') }} — {{ $update->body }}

@endforeach
@endif
Move summary @if ($order->collection_date) @endif @if ($order->collection_from) @endif
Van size{{ $order->size }} m³
Collection date{{ $order->collection_date->format('d/m/Y') }}
Collection window{{ $order->collection_from->format('d/m/Y') }} – {{ $order->collection_to->format('d/m/Y') }}
Contacts
Pickup{{ $order->from_contact_name }} · {{ $order->from_contact_phone }}
Delivery{{ $order->to_contact_name }} · {{ $order->to_contact_phone }}
Driver & van details @foreach ($order->drivers as $driver)

Van {{ $driver->slot_number }}: {{ $driver->driver_name ?: 'Driver to be confirmed' }} {{ $driver->vehicle_registration ? '(' . $driver->vehicle_registration . ')' : '' }}

@endforeach
Payments & invoices @if ((float) $order->amounts->customs_price > 0) @endif @if ((float) $order->amounts->discount_amount > 0) @endif
Removal price£{{ number_format((float) $order->amounts->size_price) }}
Customs clearance£{{ number_format((float) $order->amounts->customs_price) }}
Discount ({{ $order->amounts->promo_code }})−£{{ number_format((float) $order->amounts->discount_amount) }}
Order total£{{ number_format((float) $order->amounts->order_total) }}
Deposit paid£{{ number_format((float) $order->amounts->deposit_paid) }}
Balance paid£{{ number_format((float) $order->amounts->balance_paid) }}
@if ($order->invoices->isNotEmpty())

Invoices

@foreach ($order->invoices as $invoice) @if ($invoice->pdf_path) {{ $invoice->invoice_no }} ({{ ucfirst(str_replace('_', ' ', $invoice->type->value)) }})
@endif @endforeach @endif
@if (! $order->order_state->isTerminal())
Upgrade to a larger van
@csrf
Purchase driver help
@csrf
@endif @if ($insuranceLink)
Insurance Download the inventory insurance form ↗
@endif
@endsection