@extends('layout') @section('title') {{ $seo_setting->seo_title }} @endsection @section('body-content')

{{ __('translate.Car Listing') }}

{{ __('translate.Location') }}

@if (request()->has('brands')) @php $brand_arr = request()->get('brands'); @endphp @foreach ($brands as $brand) id, $brand_arr) ? 'checked' : '' }} name="brands[]" class="form-check-input" type="checkbox" id="flexCheckDefault-{{ $brand->id }}" value="{{ $brand->id }}"> @endforeach @else @foreach ($brands as $brand) @endforeach @endif

@if (request()->has('condition')) @php $condition_arr = request()->get('condition'); @endphp @else @endif

@if (request()->has('purpose')) @php $purpose_arr = request()->get('purpose'); @endphp @else @endif

@if (request()->has('features')) @php $features_arr = request()->get('features'); @endphp @foreach ($features as $index => $feature) id, $features_arr) ? 'checked' : '' }} class="form-check-input" type="checkbox" value="{{ $feature->id }}" name="features[]" id="feature{{ $index }}"> @endforeach @else @foreach ($features as $index => $feature) @endforeach @endif
@if ($listing_ads->status == 'enable') @endif

{{ __('translate.Switch tab for list or grid view layout') }}

@forelse ($cars as $index => $car)
thumb
@if ($car->offer_price)

{{ calculate_percentage($car->regular_price, $car->offer_price) }}% {{ __('translate.Off') }}

@endif @if ($car->condition == 'New')

{{ __('translate.New') }}

@else

{{ __('translate.Used') }}

@endif
@guest('web') @else @endif
{{ $car?->brand?->name }}

@if ($car->offer_price) {{ currency($car->offer_price) }} @else {{ currency($car->regular_price) }} @endif

{{ html_decode($car->title) }}

{{ html_decode($car->mileage) }}
{{ html_decode($car->fuel_type) }}
{{ html_decode($car->engine_size) }}
{{ __('translate.Listed by') }} :{{ html_decode($car?->dealer?->name) }}
@empty

{{ __('translate.Listing Not Found!') }}

{{ __('translate.Whoops... this information is not available for a moment') }}

@endforelse
@forelse ($cars as $index => $car)
thumb
@if ($car->offer_price)

{{ calculate_percentage($car->regular_price, $car->offer_price) }}% {{ __('translate.Off') }}

@endif @if ($car->condition == 'New')

{{ __('translate.New') }}

@else

{{ __('translate.Used') }}

@endif

@if ($car->offer_price) {{ currency($car->offer_price) }} @else {{ currency($car->regular_price) }} @endif

@guest('web') @else @endif

{{ html_decode($car->title) }}

{{ html_decode($car->mileage) }}
{{ html_decode($car->fuel_type) }}
{{ html_decode($car->engine_size) }}
{{ __('translate.Listed by') }} : {{ html_decode($car?->dealer?->name) }}
@empty

{{ __('translate.Listing Not Found!') }}

{{ __('translate.Whoops... this information is not available for a moment') }}

@endforelse
@if ($cars->hasPages()) {{ $cars->links('pagination_box') }} @endif
@endsection @push('js_section') @endpush