@extends('layouts.admin') @section('title', 'Commande ' . $order->order_number) @section('page-title', 'Commande ' . $order->order_number) @section('content')
Référence
{{ $order->order_number }}
Statut
{{ $statuses[$order->status] ?? $order->status }}Date
{{ $order->created_at->format('d/m/Y H:i') }}
Total
{{ number_format($order->total_amount, 0, ',', ' ') }} {{ config('shop.currency_symbol') }}
Client
{{ $order->customer_first_name }} {{ $order->customer_last_name }}
{{ $order->customer_phone }}
@if($order->customer_email){{ $order->customer_email }}
@endifAdresse
{{ $order->delivery_street }}
@if($order->delivery_postal_code){{ $order->delivery_postal_code }} @endif{{ $order->delivery_city }}
{{ $order->delivery_country }}
Notes client
{{ $order->customer_notes }}
Notes admin
{{ $order->admin_notes }}
Source de prélèvement
{{ $order->fulfillmentSource->name }} {{ $order->fulfillmentSource->type }}
@if($order->fulfillment_note){{ $order->fulfillment_note }}
@endif| Produit | Variante | Qté | Prix | Sous-total |
|---|---|---|---|---|
| {{ $item->product_name }} | {{ $item->variant_size }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} | {{ number_format($item->subtotal, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} |
| Sous-total | {{ number_format($order->subtotal, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} | |||
| TVA | {{ number_format($order->tax_amount, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} | |||
| Livraison | {{ number_format($order->shipping_cost, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} | |||
| Total | {{ number_format($order->total_amount, 0, ',', ' ') }} {{ config('shop.currency_symbol') }} | |||
Aucun historique disponible.
@else| Date | Ancien statut | Nouveau statut | Commentaire | Par |
|---|---|---|---|---|
| {{ $history->created_at?->format('d/m/Y H:i') }} | {{ $statuses[$history->old_status] ?? $history->old_status ?? '-' }} | {{ $statuses[$history->new_status] ?? $history->new_status }} | {{ $history->comment ?? '-' }} | {{ $history->changedBy?->first_name ?? 'System' }} |