@extends('admin.layouts.app') @section('content')
{{-- Main --}}
{{-- Order items --}}

Articles

@foreach ($order->items as $item) @endforeach @if ($order->discount_total > 0) @endif @if ($order->shipping_total > 0) @endif
Produit Qte P.U. Total
{{ $item->product_name }}
@if ($item->sku)
{{ $item->sku }}
@endif
{{ $item->quantity }} {{ number_format($item->unit_price, 2, ',', ' ') }} € {{ number_format($item->total, 2, ',', ' ') }} €
Sous-total {{ number_format($order->subtotal, 2, ',', ' ') }} €
Remise -{{ number_format($order->discount_total, 2, ',', ' ') }} €
Livraison {{ number_format($order->shipping_total, 2, ',', ' ') }} €
Total {{ number_format($order->total, 2, ',', ' ') }} €
{{-- Billing / Shipping --}}

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)

Tel: {{ $order->billing_phone }}

@endif

{{ $order->billing_email }}

@if ($order->shipping_first_name)

Livraison

{{ $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 }}

@endif
{{-- Sidebar --}}
{{-- Status --}} {{-- Payment --}}

Paiement

Methode : {{ $order->payment_method ?? '—' }}

@if ($order->paid_at)

Paye le : {{ $order->paid_at->format('d/m/Y H:i') }}

@endif @if ($order->stripe_payment_intent_id)

Stripe : {{ $order->stripe_payment_intent_id }}

@endif
{{-- Tracking --}} @if ($order->tracking_number)

Suivi

@if ($order->tracking_carrier)

Transporteur : {{ $order->tracking_carrier }}

@endif

N° suivi : {{ $order->tracking_number }}

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

Note client

{{ $order->customer_note }}

@endif {{-- Date --}}

Date

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

@endsection