@extends('layouts.admin.base') @section('page.title', 'Commande n°'.$order->id) @section('page.content')
Retour

Produits de la commande

@foreach ($order->items as $item)
{{ $item->title }}

{{ $item->product->title }}

{{ $item->price_formatted }}

Quantité: {{ $item->quantity }}

@endforeach

Résumé

Sous-total

{{ $order->price_untaxed_formatted }}

Livraison

{{ $order->shipping_price_formatted ?? '0.00 €' }}

TVA

{{ $order->tax_formatted ?? '0.00 €' }}

Total

{{ $order->price_formatted }}

Numéro de suivi

@include('components.forms.inputs.classic-light', [ 'disabled' => true, 'id' => 'tracking_number', 'value' => $order->tracking_number ])

Paiements

@forelse ($order->payments as $payment)

Payé avec {{ $payment->type }}.

@if ($payment->type == 'stripe')

Identifiant Stripe : {{ $payment->datas['stripe_id'] ?? "Non indiqué" }}

@endif

{{ $payment->amount_formatted }}

@empty

Aucun paiement n'a été enregistré pour cette commande.

@endforelse
@php $orderStatus = array(); foreach (\App\Models\Order::STATUS as $status) { $orderStatus[] = [ 'value' => $status, 'label' => __('order.status.'.$status) ]; } @endphp
@csrf

Statut

@include('components.forms.inputs.select-light', [ 'id' => 'status', 'options' => $orderStatus, 'value' => $order->status ])

Contact

Email

{{ $order->email }}

Téléphone

{{ $order->phone ?? "Non indiqué" }}

Adresses

Livraison

@isset($order->shipping_address)

{{ $order->shipping_address->identity }}

{{ $order->shipping_address->summary }}

@endisset @isset($order->delivery_center)

{{ $order->billing_address->identity }}

Retrait au centre {{ $order->delivery_center->title }}

{{ $order->delivery_center->address->summary }}

@endisset

Facturation

{{ $order->billing_address->identity }}

{{ $order->billing_address->summary }}

@endsection @push('page.scripts') @endpush