{{-- Printable invoice (browser "Print → Save as PDF"). Seller details: shop settings. --}} @php $seller = $site->shopSetting('seller') ?? []; $address = $order->billing_address ?? $order->shipping_address ?? []; $rates = $order->items->groupBy(fn ($i) => (string) $i->tax_rate); @endphp {{ __('shop.invoice') }} {{ $order->invoice_number }} — {{ $site->name }}

{{ $seller['name'] ?? $site->name }}

{{ $seller['address'] ?? '' }}

@if (! empty($seller['legal']))

{{ $seller['legal'] }}

@endif

{{ __('shop.invoice') }}

N° {{ $order->invoice_number }}
{{ $order->paid_at?->format('d/m/Y') }}
{{ __('shop.order_number', ['number' => $order->number]) }}

{{ __('shop.delivery_address') }}

{{ trim(($address['first_name'] ?? '').' '.($address['last_name'] ?? '')) }}
@if (! empty($address['company'])){{ $address['company'] }}
@endif{{ $address['line1'] ?? '' }}
{{ $address['postcode'] ?? '' }} {{ $address['city'] ?? '' }} {{ $address['country'] ?? '' }}
{{ $order->email }}

{{ __('shop.payment_method') }}

{{ __('shop.payment.'.$order->payment_method) }}

@foreach ($order->items as $item) @endforeach
{{ __('shop.items') }}{{ __('shop.quantity') }}{{ __('shop.price') }}{{ __('shop.tax') }}{{ __('shop.total') }}
{{ $item->name }}@if ($item->variant_name) — {{ $item->variant_name }}@endif @if ($item->sku)
{{ $item->sku }}@endif
{{ $item->quantity }}{{ $order->money($item->unit_price) }}{{ rtrim(rtrim(number_format($item->tax_rate, 2, ',', ''), '0'), ',') }} %{{ $order->money($item->total) }}
{{ __('shop.subtotal') }}{{ $order->money($order->subtotal) }}
@if ($order->discount_total)
{{ __('shop.discount') }}−{{ $order->money($order->discount_total) }}
@endif @if ($order->shipping_method_name)
{{ __('shop.shipping') }}{{ $order->money($order->shipping_total) }}
@endif
{{ $site->shopSetting('prices_include_tax') ? __('shop.tax_included') : __('shop.tax') }}{{ $order->money($order->tax_total) }}
{{ __('shop.total') }}{{ $order->money($order->total) }}
@if ($order->refunded_total)
{{ __('shop.refunded', ['amount' => '']) }}−{{ $order->money($order->refunded_total) }}
@endif
@if (! empty($seller['footer']))

{{ $seller['footer'] }}

@endif