@php $blockType = data_get($reduction, 'block_type.value'); $position = data_get($reduction, 'position.value'); $ctaUrl = data_get($reduction, 'cta_url.value'); $ctaLabel = data_get($reduction, 'cta_label.value'); $articleId = data_get($reduction, 'article_id.value'); $reductionNews = $articleId ? \App\Models\News::find($articleId) : null; $visibility = data_get($reduction, 'visibility.value', true); @endphp

{{ $title }}

{{ $text }}

@foreach ($collection as $key => $item)
$loop->first]) id="commitment-eat-{{ $key }}" role="tabpanel" aria-labelledby="commitment-eat-{{ $key }}-tab" tabindex="0">
{{ $item->picture->alt }}

{{ $item->title }}

{!! clean($item->description) !!}
@endforeach
@if ($visibility) @include('fo.partials.block.reduction-card', [ 'news' => $reductionNews, 'ctaUrl' => $ctaUrl ?? null, 'ctaLabel' => $ctaLabel ?? null, 'position' => $position, 'blockType' => $blockType, ]) @endif