@extends('layouts.app') @section('title', 'Commande confirmée - JOLI Matelas') @section('content')
@include('partials.page-hero', [ 'title' => 'Commande confirmée', 'breadcrumbs' => [ ['label' => 'Accueil', 'href' => route('home')], ['label' => 'Commande', 'href' => route('checkout.index')], ['label' => 'Confirmation'] ] ])

Commande confirmée !

Merci pour votre commande. Nous vous contacterons bientôt pour organiser la livraison.

{{ $order->order_number }}

Détails de la commande

Statut @switch($order->status) @case('EN_ATTENTE_TRAITEMENT') En attente de traitement @break @case('EN_ATTENTE_LIVRAISON') En cours de livraison @break @case('LIVREE') Livrée @break @case('ANNULEE') Annulée @break @default {{ $order->status }} @endswitch
Date {{ $order->created_at->format('d/m/Y à H:i') }}
@if($order->store)
Magasin {{ $order->store->name }}
@endif

Articles

@foreach($order->items as $item)
{{ $item->product->name }} ({{ $item->variant->size }}) × {{ $item->quantity }} {{ number_format($item->subtotal, 0, ',', ' ') }} {{ config('shop.currency_symbol') }}
@endforeach
Total {{ number_format($order->total_amount, 0, ',', ' ') }} {{ config('shop.currency_symbol') }}

Contact

{{ $order->customer_first_name }} {{ $order->customer_last_name }}

{{ $order->customer_phone }}

@if($order->customer_email)

{{ $order->customer_email }}

@endif

Adresse de livraison

{{ $order->delivery_street }}

@if($order->delivery_postal_code){{ $order->delivery_postal_code }} @endif{{ $order->delivery_city }}

@if($order->customer_notes)

Notes

{{ $order->customer_notes }}

@endif

Paiement à la livraison

Préparez le montant exact de {{ number_format($order->total_amount, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} en espèces pour la livraison.

@endsection