{{-- HEADER --}}

{{ __('Veille produit') }}


{{-- CONTENT --}} @if (isset($product->picture) && !empty($product->picture))
{{ $product->picture_alt }} @else @endif

{{ __('Marque du produit : ') }}{{ $product->brand->name }}

{{ __('Nom du produit : ') }}{{ $product->name }}

@if (isset($product->certification))

{{ __('Certification : ') }}{{ $product->certification }}

@endif

{{ __('Origines : ') }}{{ $product->origins }}

{{ __('Allégations : ') }} @php $claims = Str::of($product->claims)->explode(', '); $claimOthers = \App\Enums\Products\ClaimEnum::others->label(); @endphp @if ($claims->contains($claimOthers)) @php $product->claims = $claims->except(array_search('Autres', $claims->toArray()))->implode(', '); @endphp {{ $product->claims }}, {{ $claimOthers}} @if ($product->specified_claim) : {{ $product->specified_claim }} @endif @else {{ $product->claims }} @endif

@if (isset($product->gencod)) @endif @if (isset($product->weight)) @endif @if (isset($product->pvc)) @endif @if (isset($product->gencod)) @endif @if (isset($product->weight)) @endif @if (isset($product->pvc)) @endif @php $priceKg = $product->weight ? (1000 * $product->pvc) / $product->weight : 0; @endphp
{{ __('GENCOD') }}{{ __('Poids UVC') }}{{ __('PVC') }}{{ __('Prix kg') }}
{{ $product->gencod }}{{ $product->weight }} g{{ $product->pvc }}€{{ number_format(round($priceKg, 2), 2, ',', ' ') }}€
@if (isset($product->productKeywords))

{{ __('Tendances identifiées : ') }}{{ Str::replaceLast(', ', '', $product->productKeywords) }}

@endif @if (isset($product->distribution_network))

{{ __('Réseau de distribution : ') }}{{ $product->distribution_network }}

@endif @if (isset($product->ray))

{{ __('Rayon : ') }}{{ $product->ray }}

@endif @if (isset($product->product_range))

{{ __('Famille : ') }}{{ $product->product_range }}

@endif @if (isset($product->geo_area))

{{ __('Zone géographique : ') }}{{ $product->geo_area }}

@endif
@if (isset($product->freeComment))

{{ __('Commentaire libre : ') }}{{ strip_tags($product->freeComment) }}

@endif @foreach ($product->productComments as $productComment)

{{ __('Commentaire dégustation du : ') }}{{ $productComment->created_at }}

{{ __('Appréciation') }} {{ __('Aspect') }} {{ __('Odeur') }} {{ __('Texture') }} {{ __('Goût') }}
{{ $productComment->evaluation }} {{ $productComment->aspect }} {{ $productComment->taste }} {{ $productComment->odor }} {{ $productComment->texture }}
@endforeach @if (isset($product->source)) @endif
{{ __('Téléchargez les documents :') }} {{ __('ICI') }}

{{ __('Vu le : ') }}{{ $product->seen_at }}

{{ __('Lieu : ') }}{{ $product->source }}, {{ $product->fair }}{{ $product->shop }}{{ $product->catalogue }}

{{ __('Par : ') }}{{ $product->user->firstname }} {{ $product->user->lastname }}