@extends('website.layouts.master', ['no_transparent_header' => false]) @section('css') @endsection @section('content')
{{-- searching --}}
@csrf
{{-- for small devices (mobiles) --}}
Destination

Click Here to search

{{-- for large devices --}} {{-- destination --}}
Destination
{{-- from date --}}
From
{{-- to date --}}
To
{{-- submit --}}
{{-- for hotel search for small devices --}}
Search for the best hotels offers
@csrf
Destination
From
To
{{ csrf_field() }} @if($type !== "direct") {{-- the defulat search of the user --}} @else @endif
{{-- search filterion --}}
Search Filter
Delete All
@if (!empty($_GET['client_rating'])) @php $client_rating = $_GET['client_rating']; @endphp @endif

@if (!empty($_GET['includes'])) @php $includes_filter = explode(',', $_GET['includes']); @endphp @endif

@foreach ($includes as $item) name,$includes_filter)) checked @endif> @endforeach
@if (!empty($_GET['tags'])) @php $tag_filter = explode(',', $_GET['tags']); @endphp @endif

@foreach ($tags as $item) slug,$tag_filter)) checked @endif> @endforeach
@if (!empty($_GET['price_from'])) @php $price_from = $_GET['price_from']; $price_to = $_GET['price_to']; @endphp @endif

From
-
To
@csrf @if($type !== "direct") {{-- the defulat search of the user --}} @else @endif @if (!empty($_GET['sort'])) @php $sort = $_GET['sort']; @endphp @else @php $sort = "lastest"; @endphp @endif {{-- sort search --}}

There are {{ $hotels->count() }} Packages in this page

Search Filter
Search Filter
{{ csrf_field() }} @if($type !== "direct") {{-- the defulat search of the user --}} @else @endif
@if (!empty($_GET['client_rating'])) @php $client_rating = $_GET['client_rating']; @endphp @endif

@if (!empty($_GET['includes'])) @php $includes_filter = explode(',', $_GET['includes']); @endphp @endif

@foreach ($includes as $item) name,$includes_filter)) checked @endif> @endforeach
@if (!empty($_GET['price_from'])) @php $price_from = $_GET['price_from']; $price_to = $_GET['price_to']; @endphp @endif

From
-
To
@foreach ($hotels as $item)
@include('website.layouts.components.package_h')
@endforeach
{{ $hotels->appends(request()->input())->links() }}

@endsection @section('js') @endsection