@if (!empty($_GET['chains']))
@php
$chains_filter = explode(',', $_GET['chains']);
@endphp
@endif
@foreach ($chains as $item)
name,$chains_filter)) checked
@endif>
@endforeach
@if (!empty($_GET['client_rating']))
@php
$client_rating = $_GET['client_rating'];
@endphp
@endif
@if (!empty($_GET['stars']))
@php
$stars = $_GET['stars'];
@endphp
@endif
@if (!empty($_GET['features']))
@php
$feature_filter = explode(',', $_GET['features']);
@endphp
@endif
@if (!empty($_GET['tags']))
@php
$tag_filter = explode(',', $_GET['tags']);
@endphp
@endif
@if (!empty($_GET['hotel_type']))
@php
$hotel_type = $_GET['hotel_type'];
@endphp
@endif
@if (!empty($_GET['price_from']))
@php
$price_from = $_GET['price_from'];
$price_to = $_GET['price_to'];
@endphp
@endif
There are {{ $hotels->count() }} Hotels in this page
Search Filter
@if(count($hotels) > 0)
{{-- ------ chooses hotel ------- --}}
@if($fav_hotel)
@if($fav_hotel->status == true)
@php
$url = route('patient_auth.unit_show', $fav_hotel->slug . '?slug=' . $fav_hotel->slug .
'&search_hotel_input=' . $slug .
'&from_ht_date=' . $from . '&to_ht_date=' . $to . '&room_qty=' . $room_qty. '&adult_qty=' .
$adult_qty);
@endphp
@elseif($type === "direct")
@php
$url = route('patient_auth.unit_show', [$fav_hotel->slug, 'direct']);
@endphp
@else
@php
$url = route('patient_auth.unit_show', [$fav_hotel->slug, 'direct']);
@endphp
@endif
@if($fav_hotel->status == true)
Total Price for {{ $fav_hotel->nights }}
Nights
{{ $fav_hotel->price }} L.E
Check Availability
@elseif($type === "direct")
Choose Date
@else
@endif
{{ $fav_hotel->name }}
{{
$fav_hotel->address }}
{{ $fav_hotel->short_description }}
5.0
@endif
{{------- end of fav hotel -------}}
@foreach ($hotels as $item)
@include('website.layouts.components.hotel_h')
@endforeach
@else
@endif
{{ $hotels->appends(request()->input())->links() }}