@extends('auth.layouts.app') @section('title', __('titles.favourites')) @section('content')
@if ($result['counts'] > 0)
@foreach ($result['items'] as $favorite)
{{ $favorite->car->title }}
@if ($favorite->car->featured) @lang('titles.FEATURED') @endif
@if ($favorite->car->sponsored) @lang('titles.sponsored') @else {{ $favorite->car->type->title ?? '' }} @endif
{{ $favorite->car->price }} @lang('titles.currency')
{{ $favorite->car->title }}

{{ $favorite->car->address }}

{{ $favorite->car->brand->title }} {{ $favorite->car->model->title }} {{ $favorite->car->year->title }}

{{ $favorite->car->type->title ?? '' }}
@endforeach
@else

{{ __('attributes.no_favorites') }}

{{ __('attributes.no_favorites_description') }}

{{ __('attributes.browse_cars') }}
@endif
@endsection