@php $productUrl = $item['product']?->url() ?? '#'; @endphp
{{-- Image produit --}}
{{ $item['name'] }}
@if(!empty($item['addons']))
@foreach($item['addons'] as $addon)
@if(!empty($addon['value']))
- {{ $addon['label'] ?? '' }} : {{ $addon['value'] }}
@endif
@endforeach
@endif
@php
$unitPrice = $item['price'] + ($item['addon_price_per_unit'] ?? 0);
@endphp
{{ number_format($unitPrice, 2, ',', ' ') }} € / unite
@if(($item['addon_price_flat'] ?? 0) > 0)
+ {{ number_format($item['addon_price_flat'], 2, ',', ' ') }} € fixe
@endif
@php
$lineTotal = ($item['price'] + ($item['addon_price_per_unit'] ?? 0)) * $item['quantity'] + ($item['addon_price_flat'] ?? 0);
@endphp
{{ number_format($lineTotal, 2, ',', ' ') }} €