@extends('frontend.layouts.layout') @section('content')
Home Inventory Car Details
@if($inventory->discount_percent)
-{{ $inventory->discount_percent }}%
@endif
Make: {{ ucfirst($inventory->make) }}
Model: {{ ucfirst($inventory->model) }}
Body: {{ $inventory->body_type }}
{{ ucfirst($inventory->make) }} {{ ucfirst($inventory->model) }} {{ $inventory->year }}

{{ ucfirst($inventory->city) }}, {{ ucfirst($inventory->state) }}, {{ $inventory->country }}

${{ number_format($inventory->price) }}

@if($inventory->original_price)

${{ number_format($inventory->original_price) }}

@endif
@if($inventory->images->count() > 0)
@foreach($inventory->images as $image)
Vehicle Image
@endforeach
@foreach($inventory->images as $image)
Vehicle Thumbnail
@endforeach
@endif
@if($inventory->description)

Description

{{ $inventory->description }}

@endif

Car Overview

@if($inventory->condition)
Condition:

{{ $inventory->condition }}

@endif @if($inventory->cylinders)
Cylinders:

{{ $inventory->cylinders }}

@endif @if($inventory->stock_number)
Stock Number:

{{ $inventory->stock_number }}

@endif @if($inventory->fuel_type)
Fuel Type:

{{ $inventory->fuel_type }}

@endif @if($inventory->vin)
VIN Number:

{{ $inventory->vin }}

@endif @if($inventory->doors)
Doors:

{{ $inventory->doors }}

@endif @if($inventory->year)
Year:

{{ $inventory->year }}

@endif @if($inventory->exterior_color)
Color:

{{ $inventory->exterior_color }}

@endif @if($inventory->mileage)
Mileage:

{{ number_format($inventory->mileage) }} miles

@endif @if($inventory->seats)
Seats:

{{ $inventory->seats }}

@endif @if($inventory->transmission)
Transmission:

{{ $inventory->transmission }}

@endif @if($inventory->city_mpg)
City MPG:

{{ $inventory->city_mpg }}

@endif @if($inventory->engine_size)
Engine Size:

{{ $inventory->engine_size }}

@endif @if($inventory->highway_mpg)
Highway MPG:

{{ $inventory->highway_mpg }}

@endif @if($inventory->drivetrain)
Driver type:

{{ $inventory->drivetrain }}

@endif

Features

@php $inventoryFeatureIds = $inventory->features->pluck('id')->toArray(); @endphp @foreach($features as $parent)
{{ $parent->name }} ({{ count($parent->children) }})
@foreach($parent->children as $child) @php $hasFeature = in_array($child->id, $inventoryFeatureIds); @endphp
{{ $child->name }}
@endforeach
@endforeach

Location

Loan Calculator

Reset All

Admin

Owner of listing

+1900 67 xxx (show)
@endsection