{{-- Header --}}

{{ $order->number }}

{{ $order->created_at->format('d/m/Y à H:i') }}

{{-- Flash messages --}} {{-- Items --}}

Articles

{{ $order->items->count() }} article(s)
@foreach($order->items as $item)
{{ $item->product_name }}
@if($item->sku)
SKU: {{ $item->sku }}
@endif @foreach($item->addons as $addon)
+ {{ $addon->addon_label }}: {{ $addon->addon_value }} @if($addon->addon_price > 0) ({{ number_format($addon->addon_price, 2, ',', ' ') }} €) @endif
@endforeach
{{ number_format($item->total, 2, ',', ' ') }} €
{{ $item->quantity }} × {{ number_format($item->unit_price, 2, ',', ' ') }} €
@endforeach
{{-- Totals --}}
Sous-total {{ number_format($order->subtotal, 2, ',', ' ') }} €
@if($order->discount_total > 0)
Remise{{ $order->coupon_code ? ' ('.$order->coupon_code.')' : '' }} -{{ number_format($order->discount_total, 2, ',', ' ') }} €
@endif
Livraison ({{ $order->shipping_method ?? '-' }}) {{ $order->shipping_total > 0 ? number_format($order->shipping_total, 2, ',', ' ') . ' €' : 'Gratuit' }}
Total {{ number_format($order->total, 2, ',', ' ') }} €
{{-- Addresses --}}

Facturation

{{ $order->billing_first_name }} {{ $order->billing_last_name }}

{{ $order->billing_address_1 }}

@if($order->billing_address_2)

{{ $order->billing_address_2 }}

@endif

{{ $order->billing_postcode }} {{ $order->billing_city }}

{{ $order->billing_country }}

@if($order->billing_phone)

{{ $order->billing_phone }}

@endif

{{ $order->billing_email }}

Livraison

@if($order->shipping_address_1)

{{ $order->shipping_first_name }} {{ $order->shipping_last_name }}

{{ $order->shipping_address_1 }}

@if($order->shipping_address_2)

{{ $order->shipping_address_2 }}

@endif

{{ $order->shipping_postcode }} {{ $order->shipping_city }}

{{ $order->shipping_country }}

@else

Identique à la facturation

@endif @if($order->relay_point_code)

Relais : {{ $order->relay_point_code }}

@endif
{{-- Customer note --}} @if($order->customer_note)

Note du client

{{ $order->customer_note }}

@endif {{-- Status & actions --}}

Statut & actions

@csrf @method('PUT')
{{-- Payment --}}

Paiement

Méthode {{ ucfirst($order->payment_method ?? '-') }} Payé le {{ $order->paid_at ? $order->paid_at->format('d/m/Y H:i') : 'Non payé' }} @if($order->stripe_payment_intent_id) Stripe PI {{ Str::limit($order->stripe_payment_intent_id, 20) }} @endif @if($order->paypal_order_id) PayPal {{ Str::limit($order->paypal_order_id, 20) }} @endif
{{-- Quick actions --}}

Actions rapides

Facture Page complète @if(!$order->isPaid())
@csrf @method('DELETE')
@endif
{{-- Boxtal --}} @if(in_array($order->shipping_key, ['boxtal', 'boxtal_intl']) || str_contains(strtolower($order->shipping_method ?? ''), 'relais'))

Boxtal

@if($order->boxtal_shipping_order_id)

ID : {{ $order->boxtal_shipping_order_id }}

@if($order->boxtal_label_url) Étiquette @else Récupérer l'étiquette @endif
@csrf @method('DELETE')
@else
@csrf

@if($order->relay_network === 'MONR_NETWORK') Mondial Relay @elseif($order->relay_network === 'CHRP_NETWORK') Chronopost @else Point relais @endif @if($order->relay_point_code) — {{ $order->relay_point_code }} @endif

@php $pkg = config('shipping.boxtal.default_package'); @endphp
@endif
@endif {{-- Timeline --}}

Chronologie

Créée le {{ $order->created_at->format('d/m/Y à H:i') }}
@if($order->paid_at)
Payée le {{ $order->paid_at->format('d/m/Y à H:i') }}
@endif @if($order->shipped_at)
Expédiée le {{ $order->shipped_at->format('d/m/Y à H:i') }}
@endif