@php use App\Enums\InformationMasterialType; @endphp
@foreach ($restaurantInformations as $index => $val)
$project->point_color]) !!}> {!! setTextDefault(fieldPropertyValue('heading', $val)) !!}
@foreach (listImage($val) as $image)
@endforeach
@if (count(listImage($val)) > 1)
@endif
@foreach (listImage($val, true) as $image)
@endforeach
@if (count(listImage($val, true)) > 1)
@endif
{!! setTextDefault(textLocale('descriptive', $val, $lang)) !!} {!! setTextDefault(textLocale('descriptive_sp', $val, $lang)) !!}
@if (fieldPropertyValue('link_type', $val)) @endif @if (fieldPropertyValue('link_type1', $val)) @endif
@php $restaurantInformationDetails = fieldPropertyValue('restaurant_information_details', $val); @endphp @if ($restaurantInformationDetails)
@foreach (getInformationMaterial($restaurantInformationDetails, $lang) as $detail) @endforeach
{!! fieldPropertyValue('heading', $detail) !!} {!! fieldPropertyValue('heading_sp', $detail) !!} @switch(fieldPropertyValue('type', $detail)) @case(InformationMasterialType::TEXT) {!! fieldPropertyValue('descriptive', $detail) !!} @break @case(InformationMasterialType::BUTTON) {!! fieldPropertyValue('button_name', $detail) !!} @break @case(InformationMasterialType::PDF) {!! fieldPropertyValue('pdf_descriptive', $detail) !!} @break @endswitch @switch(fieldPropertyValue('type_sp', $detail)) @case(InformationMasterialType::TEXT) {!! fieldPropertyValue('descriptive_sp', $detail) !!} @break @case(InformationMasterialType::BUTTON) {!! fieldPropertyValue('button_name_sp', $detail) !!} @break @case(InformationMasterialType::PDF) {!! fieldPropertyValue('pdf_descriptive_sp', $detail) !!} @break @endswitch
@endif
@if (fieldPropertyValue('link_type_sp', $val)) @endif @if (fieldPropertyValue('link_type1_sp', $val)) @endif
@endforeach