{!! setTextDefault(textLocale('heading', $facility, $lang)) !!}
{!! setTextDefault(textLocale('heading_sp', $facility, $lang)) !!}
{!! setTextDefault(textLocale('descriptive', $facility, $lang)) !!}
{!! setTextDefault(textLocale('descriptive_sp', $facility, $lang)) !!}
@php
$informationMaterial = getInformationMaterial($facility['other_facility_information_details'], $lang);
@endphp
@foreach ($informationMaterial as $information)
@endforeach
{!! fieldPropertyValue('heading', $information) !!}
{!! fieldPropertyValue('heading_sp', $information) !!}
@switch(fieldPropertyValue('type', $information))
@case(InformationMasterialType::TEXT)
{!! fieldPropertyValue('descriptive', $information) !!}
@break
@case(InformationMasterialType::BUTTON)
{!! fieldPropertyValue('button_name', $information) !!}
@break
@case(InformationMasterialType::PDF)
@if (fieldPropertyValue('pdf_descriptive', $information))
{!! fieldPropertyValue('pdf_descriptive', $information) !!}
@endif
@break
@endswitch
@switch(fieldPropertyValue('type_sp', $information))
@case(InformationMasterialType::TEXT)
{!! fieldPropertyValue('descriptive_sp', $information) !!}
@break
@case(InformationMasterialType::BUTTON)
{!! fieldPropertyValue('button_name_sp', $information) !!}
@break
@case(InformationMasterialType::PDF)
@if (fieldPropertyValue('pdf_descriptive_sp', $information))
{!! fieldPropertyValue('pdf_descriptive_sp', $information) !!}
@endif
@break
@endswitch