@php use App\Enums\InformationMasterialType; use App\Enums\Boolean; @endphp
@if (fieldPropertyValue('status', $item))
{!! setTextDefault(textLocale('body', $item, $lang)) !!} {!! setTextDefault(textLocale('body_sp', $item, $lang)) !!}
@endif
@foreach ($restaurantInformations as $index => $val) @php $listImagePc = []; $listImageSp = []; for ($i = 1; $i <= 8; $i++) { if (!empty($val['image' . $i])) { $listImagePc[] = $val['image' . $i]; } if (!empty($val['image' . $i . '_sp'])) { $listImageSp[] = $val['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; } $nameRestaurantSp = nameRestaurantSp($val, $lang); $isLogoSp = $nameRestaurantSp['isLogo']; $nameSp = $nameRestaurantSp['name']; $logoSp = $nameRestaurantSp['logo']; @endphp @if (fieldPropertyValue('is_logo', $val) == Boolean::TRUE)
@else

{!! setTextDefault(textLocale('name', $val, $lang)) !!}

@endif @if ($isLogoSp == Boolean::TRUE)
@else

{!! setTextDefault($nameSp) !!}

@endif
@foreach ($listImagePc as $image)
@endforeach
@if (count($listImagePc) > 1)
@endif
@foreach ($listImageSp as $image)
@endforeach
@if (count($listImageSp) > 1)
@endif
{{--

ケーキギフトプラン

--}}

{!! setTextDefault(textLocale('descriptive', $val, $lang)) !!} {!! setTextDefault(textLocale('descriptive_sp', $val, $lang)) !!}

@endforeach