@extends('layouts.frontend')
@push('title', get_phrase('Hotel Directory Listing'))
@push('meta')@endpush
@push('css')
@endpush
@section('frontend_layout')
@php
$HotelBooking = json_decode(get_homepage_settings('HotelBooking') ?? '{}');
$HotelExclusive = json_decode(get_homepage_settings('HotelExclusive') ?? '{}');
$HotelSize = json_decode(get_homepage_settings('HotelSize') ?? '{}');
$HotelBanner = json_decode(get_homepage_settings('HotelBanner') ?? '{}');
@endphp
{{ currency($listing->price) }} /{{ get_phrase('night') }} {{ currency($listing->price) }} /{{ get_phrase('night') }}{{ $HotelExclusive->title ?? '' }}
{{ $HotelExclusive->description ?? '' }}
{{ $HotelSize->title ?? '' }}
{{ $HotelSize->description ?? '' }}
{{ get_phrase('Top Hotels') }}
{{ get_phrase('See all') }}
@php
$features = json_decode($listing->feature, true) ?? [];
$displayedFeatures = array_slice($features, 0, 2);
$remainingCount = count($features) - 2;
@endphp
@foreach ($displayedFeatures as $feature)
@php
$amenities = App\Models\Amenities::where('id', $feature)->first();
@endphp
@if ($amenities)
{{ get_phrase('Popular Hotel') }}
{{ get_phrase('See All') }}
@php
$features = json_decode($listing->feature, true) ?? [];
$displayedFeatures = array_slice($features, 0, 2);
$remainingCount = count($features) - 2;
@endphp
@foreach ($displayedFeatures as $feature)
@php
$amenities = App\Models\Amenities::where('id', $feature)->first();
@endphp
@if ($amenities)
{{ $HotelBooking->title ?? '' }}
{{ get_phrase('Flexible budget') }}
{{ get_phrase('Peaceful place') }}
{{ get_phrase('Well decorated') }}