@php use App\Enums\Boolean; @endphp @if (!empty($banquetInfo))
@foreach ($banquetInfo as $banquet) @php $listImagePc = []; $listImageSp = []; for ($i = 1; $i <= 8; $i++) { if (!empty($banquet['image' . $i])) { $listImagePc[] = $banquet['image' . $i]; } if (!empty($banquet['image' . $i . '_sp'])) { $listImageSp[] = $banquet['image' . $i . '_sp']; } } if (count($listImagePc) == 0) { $listImagePc = ['https://assets.micado-rayout.jp/img/common/no-image-found-360x250.png']; } if (count($listImageSp) == 0) { $listImageSp = $listImagePc; } @endphp
@foreach ($listImagePc as $image)
@endforeach
@foreach ($listImageSp as $image)
@endforeach

{!! setTextDefault(textLocale('banquet_name', $banquet, $lang)) !!} {!! setTextDefault(textLocale('banquet_name_sp', $banquet, $lang)) !!}

{!! setTextDefault(textLocale('list_comment', $banquet, $lang)) !!} {!! setTextDefault(textLocale('list_comment_sp', $banquet, $lang)) !!}

@if (fieldPropertyValue('detail_page', $banquet) == Boolean::TRUE) @endif
@endforeach
@endif