@extends('layouts.main_frontend') @section('content') {{-- {{ dd(count($allplaces)) }} --}} {{-- {{dd($city_id)}} --}}
Card image cap
{{--

@lang('site.We offer you the most popular restaurants at discounts')

--}}

@lang('site.Show') {{-- {{ count($places) }} @lang('site.from') {{ count($allplaces) }} @lang('site.result') --}}

{{-- Reset Form --}} ازالة {{-- --}}
{{-- {{dd($Over_Looking_Place)}} --}} @php if (request()->has('Overlooking')) { $overlookcat = request('Overlooking'); } elseif ( request()->has('Overlookinghidden') && request('Overlookinghidden') != null ) { $overlookcat = explode(',', request('Overlookinghidden')); } if (request()->has('distance')) { $distancecat = request('distance'); } elseif ( request()->has('distancehidden') && request('distancehidden') != null ) { $distancecat = explode(',', request('distancehidden')); } @endphp {{-- {{dd($overlookcat)}} --}}

تصفيه حسب:

@if (count($Over_Looking_Place) > 0)

@foreach ($Over_Looking_Place as $item)
id) checked @endif @endforeach @endif {{-- onclick="GetAtrribute(this.id,this.name)" --}} />
@endforeach {{--
--}}
@endif {{-- Discount filter --}} @php $showAccordion = false; // Flag to track if we need to show the accordion @endphp @foreach ($places as $place) @if ($place->category->flag == 'resturant') @php $showAccordion = true; // Set the flag to true if at least one place meets the condition @endphp @endif @endforeach {{-- @if (isset($category) && $category->flag == 'resturant') --}} @if ($showAccordion) {{-- @if ($place->category->flag == 'resturant') --}}

{{-- Filtering checkboxes --}}
filter) && in_array('new_discount', request()->filter)) checked @endif />
filter) && in_array('discount_desc', request()->filter)) checked @endif />
@endif {{-- end discount filter --}} {{-- {{dd($city_id)}} --}} @if ($city_id != 0)

{{-- {{ dd($city_id) }} --}}
@if ($flagAiport == true)
@endif
@endif {{--

--}}
{{-- --}}
@lang('site.order')
{{-- {{dd($category)}} --}} {{-- --}} {{-- {{dd($category)}} --}}
    @if ($city_id != 0) @endif
{{--
--}} @foreach ($places as $place)
{{-- --}}

{{ $place->name ?? '' }}

{{-- {{$place->id}} --}} {{-- {{count(\App\Models\UserPlace::where('palace_id', '=',$place->id)->where('user_id', '=', auth()->user()->id)->get())}} --}}
({{ round($place->placeReview2()) }})
{{ $place->placeCommentsAll->count() ?? 0 }} @lang('site.comments')
{{--
{!! html_entity_decode($place->descrption) !!} {{$place->country->name ?? ''}} {{$place->city->name ?? ''}}
--}}
{!! strip_tags( html_entity_decode( strlen($place->descrption) > 90 ? substr($place->descrption, 0, 90) . '..' : $place->descrption ?? '', ), ) !!} {{-- {!! strip_tags(html_entity_decode($place->descrption ?? '')) !!} --}}
{{ $place->country->name ?? '' }} {{ $place->city->name ?? '' }}
{{-- --}}
{!! strip_tags(html_entity_decode($place->address ?? '')) !!}
@if ($place->discount == 1)
@if ($place->type_discount == 1) يوجد خصم {{ $place->value_discount }} % لمستخدمي تطبيق سائح @else يوجد خصم {{ $place->value_discount . ' ' . ($place->country->currency_ar ?? '') }} لمستخدمي تطبيق سائح @endif
@endif
@php $flag = App\Models\Category::where('id', $place->category_id) ->select('flag', 'go_or_not') ->first(); @endphp @if ($flag->go_or_not == 'go_to')
@endif
@endforeach
@if (!empty($places->appends(request()->query())->links()))
@endif
@if (!empty(auth()->user())) @else

@lang('site.freediscount')

@lang('site.loginSignup') www.saeeh.com

@endif
@endsection @section('scripts') {{-- --}} @endsection