{{-- Header --}}
www.atelier-aubin.fr
FACTURE
N° {{ $order->number }}
Date : {{ $order->created_at->format('d/m/Y') }}
@if($order->paid_at) Payée le : {{ $order->paid_at->format('d/m/Y') }} @endif
{{-- Addresses --}}
Facturer a
{{ $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 }}
Livrer a
@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 a la facturation @endif @if($order->relay_point_code)

Point relais : {{ $order->relay_point_code }} @endif
{{-- Items --}} @foreach($order->items as $item) @endforeach
Produit Prix unit. Qté Total
{{ $item->product_name }} @if($item->sku)
SKU: {{ $item->sku }}@endif @foreach($item->addons as $addon)
+ {{ $addon->group_name }}: {{ $addon->addon_name }} @if($addon->price > 0)({{ number_format($addon->price, 2, ',', ' ') }} €)@endif @endforeach
{{ number_format($item->unit_price, 2, ',', ' ') }} € {{ $item->quantity }} {{ number_format($item->total, 2, ',', ' ') }} €
{{-- Totals --}} @if($order->discount_total > 0) @endif
Sous-total {{ number_format($order->subtotal, 2, ',', ' ') }} €
Remise{{ $order->coupon_code ? ' ('.$order->coupon_code.')' : '' }} -{{ number_format($order->discount_total, 2, ',', ' ') }} €
Livraison ({{ $order->shipping_method ?? '-' }}) @if($order->shipping_total > 0) {{ number_format($order->shipping_total, 2, ',', ' ') }} € @else Gratuit @endif
Total TTC {{ number_format($order->total, 2, ',', ' ') }} €
{{-- Footer --}}