@php $colorCodes = $pageContent['property_brand']['colorCodes']; @endphp
where('is_default',1)->first(); $defaultPhoto = $defaultPhoto ? $defaultPhoto['photoUrl']['default'] : $pageContent['property_photo'][0]['photoUrl']['default']; ?>
{{-- @if(isset($pageContent['property_brand']['logoUrl'])) @endif --}}
{{ $pageContent['name'] ?? 'Hotel' }}
@if(isset($pageContent['property_brand']['summary']))
{{-- {{ __($pageContent['property_type_language_key']) }} --}} {!! \Illuminate\Support\Str::limit(nl2br($pageContent['property_brand']['summary']), 250, '...') !!}
@endif
{{__('be-search-hotel_info-title')}}
@if(!empty($pageContent['property_chain'])) @endif @if(!empty($pageContent['property_contact']['address'])) @endif @if(!empty($pageContent['property_contact']['phone'])) @endif @foreach(array_slice($pageContent['additional_info'], 0, 5) as $additionalInfo) @if($additionalInfo['value'] != "") @endif @endforeach
{{ __('enw-input-chain_type') }} {{ __( $pageContent['property_chain']) }}
{{ __('enw-input-address') }} {{ $pageContent['property_contact']['address'] }}
{{ __('enw-input-phone') }} {{ $pageContent['property_contact']['phone'] }}
{{ __($additionalInfo['language_key']) }} {{ $additionalInfo['name'] != "minimum_age_policy" && $additionalInfo['value'] == "1" ? __('enw-input-checkbox-yes') : ($additionalInfo['name'] != "minimum_age_policy" && $additionalInfo['value'] == "0" ? __('enw-input-checkbox-yes') : $additionalInfo['value']) }}
@php $rowCount3 = 0; if(!empty($pageContent['additional_info']['year_construction'])) $rowCount3++; if(!empty($pageContent['property_type']) && !empty($pageContent['property_type_language_key'])) $rowCount3++; if(!empty($pageContent['additional_info']['number_of_rooms'])) $rowCount3++; if(!empty($pageContent['property_contact']['address'])) $rowCount3++; if(!empty($pageContent['property_contact']['view_full_phone'])) $rowCount3++; if(!empty($pageContent['property_chain'])) $rowCount3++; if(!empty($pageContent['official_name'])) $rowCount3++; if(!empty($pageContent['additional_info']['pet_allowed'])) $rowCount3++; if(!empty($pageContent['property_language_spoken'])) $rowCount3++; $tableHeight1 = max(150, $rowCount3 * 38); @endphp
@if(!empty($pageContent['property_contact']['email'])) @endif @foreach(array_slice($pageContent['additional_info'], 7, 8) as $additionalInfo) @if($additionalInfo['value'] != "") @endif @endforeach @if(!empty($pageContent['property_contact']['web'])) @endif
{{ __('enw-input-email') }} {{ $pageContent['property_contact']['email'] }}
{{ __($additionalInfo['key']) }} {{ $additionalInfo['name'] != "minimum_age_policy" && $additionalInfo['value'] == "1" ? __('enw-input-checkbox-yes') : ($additionalInfo['name'] != "minimum_age_policy" && $additionalInfo['value'] == "0" ? __('enw-input-checkbox-yes') : $additionalInfo['value']) }}
{{ __('enw-input-web_site') }} {{ $pageContent['property_contact']['web'] }}
{{-- @php $rowCount2 = 0; if(!empty($pageContent['country'])) $rowCount2++; if(!empty($pageContent['property_contact']['email'])) $rowCount2++; if(!empty($pageContent['property_contact']['web'])) $rowCount2++; if(!empty($pageContent['property_contact']['view_full_fax'])) $rowCount2++; if(!empty($pageContent['tax_office'])) $rowCount2++; if(!empty($pageContent['tax_number'])) $rowCount2++; if(!empty($pageContent['additional_info']['checkin_time'])) $rowCount2++; if(!empty($pageContent['additional_info']['checkout_time'])) $rowCount2++; if(!empty($pageContent['additional_info']['minimum_age_policy'])) $rowCount2++; $tableHeight2 = max(150, $rowCount2 * 38); @endphp --}}
@if(isset($pageContent['property_room']) && is_array($pageContent['property_room']))
@foreach($pageContent['property_room'] as $index => $room) @if($index > 0)
@endif
{{ $room['name'] }} @if(isset($room['type'])) | {{ $room['type'] }} @endif
@if(isset($room['room_size']) && $room['room_size'])
{{-- --}} {{ $room['room_size'] }} {{ $room['roomSizeTypeFormatted'] ?? 'm²' }}
@endif
{{--

{{ __('enw-rooms_features-title') }}:

--}}
@php $features = []; if (isset($room['max_adult'])) { $features[] = __('enw-input-max_adults') . ': ' . $room['max_adult'] . ''; } if (isset($room['max_child'])) { $features[] = __('enw-input-max_children') . ': ' . $room['max_child'] . ''; } if (isset($room['max_occupancy'])) { $features[] = __('enw-input-max_room_occupancy') . ': ' . $room['max_occupancy'] . ''; } // if (isset($room['room_size']) && isset($room['room_size_type'])) { // $features[] = __('enw-input-room_size') . ': ' . $room['room_size'] . ' ' . $room['room_size_type'] . ''; // } if (isset($room['room_type_count'])) { $features[] = __('enw-input-room_type_count') . ': ' . $room['room_type_count'] . ''; } if (isset($room['room_count'])) { $features[] = __('myweb-about-general-room_count-title') . ': ' . $room['room_count'] . ''; } if (isset($room['lounge_count'])) { $features[] = __('enw-input-number_of_lounge') . ': ' . $room['lounge_count'] . ''; } if (isset($room['bathroom_count'])) { $features[] = __('myweb-room_detail-number_of_bathrooms-title') . ': ' . $room['bathroom_count'] . ''; } @endphp {!! implode(', ', $features) . '' !!}
@if(isset($room['photo']) && is_array($room['photo']))
{{-- @if(!empty($room['photo']) && count($room['photo']) == 1) --}}
{{-- @else room @endif --}} {{--
--}}
@if(!empty($room['photo']) && count($room['photo']) > 1)
@foreach(array_slice($room['photo'], 1, 2) as $image)
{{-- room --}}
@endforeach
@endif @endif
{{--
{{__('myweb-rooms-title')}}
--}} {{-- ✓ --}} @if(!empty($room['fact']))
{{ $room['name'] }} | {{ __('myweb-room_detail-room_features-title') }}
@foreach(array_slice($room['fact'], 0, 48) as $i => $fact) @if(isset($fact['name'])) @if(($i + 1) % 4 == 0 && $i + 1 < count($room['fact'])) @endif @endif @endforeach @for($j = 0; $j < (4 - (count($room['fact']) % 4)) % 4; $j++) @endfor
✓ {{ $fact['name'] }}
{{--
{{ __('myweb-room_detail-room_features-title') }}
--}}
@endif @if($index < count($pageContent['property_room']) - 1)
@endif @endforeach
@endif @if(isset($pageContent['property_place']) && is_array($pageContent['property_place']))
{{--
{{__('btn-places')}}
--}} @foreach($pageContent['property_place'] as $index => $place) {{-- @if($index > 0)
@endif --}}
@if(!empty($place['name'])) @endif @if(!empty($place['field'])) @foreach(array_slice($place['field'], 0, 4) as $field) @if(!empty($field['option_value']) || !empty($field['input_value'])) 6) style="display: none!important" @endif> @endif @endforeach @endif @if(!empty($place['fact'])) @foreach(array_slice($place['fact'], 0, 8) as $facts) @endforeach @endif
@if(!empty($place['languageNameArray']) && $place['languageNameArray'][app('translator')->getLocale()] != null) {{ $place['languageNameArray'][app('translator')->getLocale()] }} @else {{$place['name']}} @endif
{{$field['name']}} @if(!empty($field['input_value']) && $field['input_value'] != "") {{$field['input_value']}} {{$field['unit'] ?? ''}} @endif @if(!empty($field['option_value']) && $field['option_value'] != "") {{ __($field['option_value']['language_key']) }} @endif
{{$facts['name']}} @foreach(array_slice($facts['fact'], 0, 7) as $fact) {{$fact['name']}}{{$loop->last ? '' : ','}} @endforeach
@if(!empty($place['photo'][0]['photoUrl']['fixed']))
@endif
@php $fieldCount = 0; $factCount = count($place['fact']); $total = 0; if ($place['field'] == null) { $place['field'] = []; } if ($place['fact'] == null) { $place['fact'] = []; } foreach ($place['field'] as $field) { if ($field['input_value'] != "" || $field['input_value'] != null && $field['option_value'] != "" || $field['option_value'] != null) { $fieldCount++; } } $total = $fieldCount + $factCount; @endphp @if(isset($place['category']))
{{$place['category']}}
@endif
@if($index < count($pageContent['property_place']) - 1)
@endif @endforeach
@endif @if(!empty($pageContent['property_executive']))
{{ __('enw-general-tab-employees') }}
@foreach($pageContent['property_executive'] as $staff) @endforeach
{{ __('enw-input-contact_type') }} {{ __('enw-input-name_surname') }} {{ __('enw-input-email') }} {{ __('enw-input-phone') }} {{ __('enw-input-mobile_phone') }} {{ __('enw-input-fax') }}
{{ isset($staff['type']) && $staff['type'] != "" ? $staff['type'] : '-' }} {{ isset($staff['name']) && $staff['name'] != "" ? $staff['name'] : '-' }} {{ isset($staff['email']) && $staff['email'] != "" ? $staff['email'] : '-' }} {{ isset($staff['phone']) && $staff['phone'] != "" ? $staff['phone'] : '-' }} {{ isset($staff['mobile']) && $staff['mobile'] != "" ? $staff['mobile'] : '-' }} {{ isset($staff['fax']) && $staff['fax'] != "" ? $staff['fax'] : '-' }}
@endif @if(!empty($pageContent['property_fact'])) @if(isset($pageContent['property_fact']['amenities']))
{{--
{{__('myweb-about-amenities_facility-title')}}
--}}

{{ __('property_fact-amenities') }}

    @foreach($pageContent['property_fact']['amenities']['fact'] as $subcategory)
  • {{ __($subcategory['language_key'] ?? $subcategory['name'] ?? '') }}: @if(isset($subcategory['fact']) && is_array($subcategory['fact']) && count($subcategory['fact']) > 0) {{ implode(', ', array_map(function($fact) { return __($fact['language_key'] ?? $fact['name'] ?? $fact); }, $subcategory['fact'])) }} @endif
  • @endforeach
@endif @if(isset($pageContent['property_fact']['facilities']))
{{--
{{__('myweb-about-amenities_facility-title')}}
--}}

{{ __('property_fact-facilities') }}

    @foreach($pageContent['property_fact']['facilities']['fact'] as $subcategory)
  • {{ __($subcategory['language_key'] ?? $subcategory['name'] ?? '') }}: @if(isset($subcategory['fact']) && is_array($subcategory['fact']) && count($subcategory['fact']) > 0) {{ implode(', ', array_map(function($fact) { return __($fact['language_key'] ?? $fact['name'] ?? $fact); }, $subcategory['fact'])) }} @endif
  • @endforeach
@endif {{--
{{__('myweb-about-amenities_facility-title')}}
--}} {{--
--}} @endif @if(isset($pageContent['property_awards_certificates'])) {{-- @php $certificates = explode(',', $pageContent['property_awards_certificates']); $certificates = array_filter($certificates, function($cert) { return trim($cert) !== ''; }); @endphp --}} {{-- @if(count($pageContent['property_awards_certificates']) > 3) --}}
{{-- @endif --}}
{{ __('enw-input-award_and_certificate') }}
@foreach(array_chunk($pageContent['property_awards_certificates'], 6) as $certificateRow) @foreach($certificateRow as $certificate) @endforeach {{-- @if(count($certificateRow) < 6) @for($i = count($certificateRow); $i < 6; $i++) @endfor @endif --}} @endforeach
{{ trim($certificate['name']) }}
 
{{--
--}} @endif @if(!empty($pageContent['property_photo']))
{{--
{{ __('enw-input-photo_gallery') }}
--}}
@endif {{-- @if(isset($pageContent['property_brand']['title']))
{{__('enw-input-description')}}
@php $hotelDescriptions = json_decode($pageContent['property_brand']['title'], true); @endphp @foreach($hotelDescriptions as $lang => $description) @if(isset($description))

{{$lang}}

{!! nl2br(e($description)) !!}

@endif @endforeach
@endif --}} {{--
--}}
@if(isset($pageContent['name']))

{{ $pageContent['name'] }}

@endif @if(isset($pageContent['property_contact']['address']))

{{ $pageContent['property_contact']['address']}}

@endif

@if(isset($pageContent['property_contact']['phone'])) {{ __('enw-input-phone') }}: {{ $pageContent['property_contact']['phone'] }} @endif | @if(isset($pageContent['property_contact']['email'])) {{ __('enw-input-email') }}: {{ $pageContent['property_contact']['email'] }} @endif

@if(isset($pageContent['property_contact']['web']))

{{ $pageContent['property_contact']['web']}}

@endif
{{--
@if(isset($pageContent['name']))

{{ $pageContent['name'] }}

@endif @if(isset($pageContent['property_contact']['address']))

{{ $pageContent['property_contact']['address']}}

@endif

@if(isset($pageContent['property_contact']['phone'])) {{ __('enw-input-phone') }}: {{ $pageContent['property_contact']['phone'] }} @endif | @if(isset($pageContent['property_contact']['email'])) {{ __('enw-input-email') }}: {{ $pageContent['property_contact']['email'] }} @endif

@if(isset($pageContent['property_contact']['social_media_addresses'])) @php $socialMedia = json_decode($pageContent['property_contact']['social_media_addresses'], true); @endphp @if(isset($socialMedia['facebook']) && $socialMedia['facebook'])

Facebook: {{ $socialMedia['facebook'] }}

@endif @if(isset($socialMedia['instagram']) && $socialMedia['instagram'])

Instagram: {{ $socialMedia['instagram'] }}

@endif @if(isset($socialMedia['twitter']) && $socialMedia['twitter'])

Twitter: {{ $socialMedia['twitter'] }}

@endif @endif @if(isset($pageContent['property_contact']['web']))

{{ $pageContent['property_contact']['web']}}

@endif
--}}