diff --git a/resources/views/documents/product-body.blade.php b/resources/views/documents/product-body.blade.php index 0a2c620..6a97672 100644 --- a/resources/views/documents/product-body.blade.php +++ b/resources/views/documents/product-body.blade.php @@ -6,113 +6,114 @@
|
- |
- - @else - | + |
+ |
+ + @else + |
@endif
- @if (isset($product->brand_id->name))
+ @if (isset($product->brand_id->name))
{{ __('Marque du produit : ') }}{{ $product->brand_id->name }}- @endif - @if (isset($product->name)) + @endif + @if (isset($product->name)){{ __('Nom du produit : ') }}{{ $product->name }}- @endif - @if (isset($product->certification)) + @endif + @if (isset($product->certification)){{ __('Certification : ') }}{{ $product->certification }} - @endif - @if (isset($product->origins)) + @endif + @if (isset($product->origins)){{ __('Origines : ') }}{{ Str::replaceLast(', ', '', $product->origins) }} - @endif - @if (isset($product->claims)) + @endif + @if (isset($product->claims)){{ __('Allégations : ') }}{{ Str::replaceLast(', ', '', $product->claims) }} - @endif -
{{ number_format(round($priceKg, 2), 2, ',', ' ') }}€ |
+ {{ __('Tendances identifiées : ') }}{{ Str::replaceLast(', ', '', $product->productKeywords) }} - @endif - @if (isset($product->distribution_network)) + @endif + @if (isset($product->distribution_network)){{ __('Réseau de distribution : ') }}{{ $product->distribution_network }} - @endif - @if (isset($product->ray)) + @endif + @if (isset($product->ray)){{ __('Rayon : ') }}{{ $product->ray }} - @endif - @if (isset($product->product_range)) + @endif + @if (isset($product->product_range)){{ __('Famille : ') }}{{ $product->product_range }} - @endif - @if (isset($product->geo_area)) + @endif + @if (isset($product->geo_area)){{ __('Zone géographique : ') }}{{ $product->geo_area }} - @endif + @endif |
{{ __('Commentaire libre : ') }}{{ strip_tags($product->freeComment) }}
+{{ __('Commentaire libre : ') }}{{ strip_tags($product->freeComment) }}
@endif -@if(isset($product->productComments)) -@foreach ($product->productComments as $productComment) -{{ __('Commentaire dégustation du : ') }}{{ $productComment->date }}
-| {{ __('Appréciation') }} | -{{ __('Aspect') }} | -{{ __('Odeur') }} | -{{ __('Texture') }} | -{{ __('Goût') }} | -
| {{ $productComment->evaluation }} | -{{ $productComment->aspect }} | -{{ $productComment->taste }} | -{{ $productComment->odor }} | -{{ $productComment->texture }} | -
{{ __('Commentaire dégustation du : ') }}{{ $productComment->date }}
+| {{ __('Appréciation') }} | +{{ __('Aspect') }} | +{{ __('Odeur') }} | +{{ __('Texture') }} | +{{ __('Goût') }} | +
| {{ $productComment->evaluation }} | +{{ $productComment->aspect }} | +{{ $productComment->taste }} | +{{ $productComment->odor }} | +{{ $productComment->texture }} | +
| - {{ __('Téléchargez les documents :') }} - {{ __('ICI') }} - | ++ {{ __('Téléchargez les documents :') }} + {{ __('ICI') }} + | @endif @if (isset($product->source)) -
- {{ __('Vu le : ') }}{{ $product->seen_at }} -{{ __('Lieu : ') }}{{ $product->source }}, {{ $product->fair }}{{ $product->shop }}{{ $product->catalogue }} -{{ __('Par : ') }}{{ $product->user_id->firstname }} {{ $product->user_id->lastname }} - |
+
+ {{ __('Vu le : ') }}{{ $product->seen_at }} +{{ __('Lieu : ') }}{{ $product->source }}, {{ $product->fair }}{{ $product->shop }}{{ $product->catalogue }} + +{{ __('Par : ') }}{{ $product->user_id->firstname }} {{ $product->user_id->lastname }} + |
@endif