@extends('front.app_front') @section('content')

{{ $listing_page_data->name }}

{{ FILTERS }}

{{ TYPE }}

@php $sort_cat = []; if(request()->has('brand')){ foreach(request()->get('brand') as $cat){ array_push($sort_cat,(int)$cat); } } @endphp

{{ BRANDS }}

@php $ii=0; @endphp @foreach($listing_brands as $index => $row)
id ,$sort_cat) ? 'checked' : '' }} name="brand[]" class="form-check-input" type="checkbox" value="{{ $row->id }}" id="cat{{ $index }}">
@endforeach
@php $sort_aminity = []; if(request()->has('amenity')){ foreach(request()->get('amenity') as $cat){ array_push($sort_aminity,(int)$cat); } } @endphp

{{ AMENITIES }}

@foreach($amenities as $index => $row)
id ,$sort_aminity) ? 'checked' : '' }} name="amenity[]" class="form-check-input" type="checkbox" value="{{ $row->id }}" id="amn{{ $index }}" >
@endforeach
@php $sort_loc = []; if(request()->has('location')){ foreach(request()->get('location') as $cat){ array_push($sort_loc,(int)$cat); } } @endphp

{{ LOCATIONS }}

@foreach($listing_locations as $index => $row)
id ,$sort_loc) ? 'checked' : '' }} name="location[]" class="form-check-input" type="checkbox" value="{{ $row->id }}" id="loc{{ $index }}">
@endforeach
@endsection