@extends('layout') @section('title') {{ __('translate.Dashboard') }} @endsection @section('body-content')

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

@include('profile.sidebar')
@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
@csrf @method('DELETE')
{{ $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.Wishlist Not Found!') }}

{{ __('translate.Your wishlist is empty, to add new item click the button below') }}

@endforelse
@include('profile.logout')
@endsection @push('js_section') @endpush