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

{{ LISTING_DETAIL }}

@include('front.customer_sidebar')
{{ $listing->listing_name }}
{{ $listing->listing_slug }}
{!! clean($listing->listing_description) !!}
{{ $listing->rListingBrand->listing_brand_name }}
{{ $listing->rListingLocation->listing_location_name }}
{{ $listing->listing_phone }}
{{ $listing->listing_email }}
{!! clean(nl2br($listing->listing_address)) !!}
{!! $listing->listing_map !!}

{{ FEATURES }}

{{ $listing->listing_price }}
{{ $listing->listing_type }}
@if($listing->listing_exterior_color != '')
{{ $listing->listing_exterior_color }}
@endif @if($listing->listing_interior_color != '')
{{ $listing->listing_interior_color }}
@endif @if($listing->listing_cylinder != '')
{{ $listing->listing_cylinder }}
@endif @if($listing->listing_fuel_type != '')
{{ $listing->listing_fuel_type }}
@endif @if($listing->listing_transmission != '')
{{ $listing->listing_transmission }}
@endif @if($listing->listing_engine_capacity != '')
{{ $listing->listing_engine_capacity }}
@endif @if($listing->listing_vin != '')
{{ $listing->listing_vin }}
@endif @if($listing->listing_body != '')
{{ $listing->listing_body }}
@endif @if($listing->listing_seat != '')
{{ $listing->listing_seat }}
@endif @if($listing->listing_wheel != '')
{{ $listing->listing_wheel }}
@endif @if($listing->listing_door != '')
{{ $listing->listing_door }}
@endif @if($listing->listing_mileage != '')
{{ $listing->listing_mileage }}
@endif @if($listing->listing_model_year != '')
{{ $listing->listing_model_year }}
@endif

{{ OPENING_HOUR }}

{{ $listing->listing_oh_monday }}
{{ $listing->listing_oh_tuesday }}
{{ $listing->listing_oh_wednesday }}
{{ $listing->listing_oh_thursday }}
{{ $listing->listing_oh_friday }}
{{ $listing->listing_oh_saturday }}
{{ $listing->listing_oh_sunday }}

{{ SOCIAL_MEDIA }}

@if($listing_social_items->isEmpty())
{{ NO_RESULT_FOUND }}
@else
@foreach($listing_social_items as $row) @endforeach
@if($row->social_icon == 'Facebook') @php $icon_code = 'fab fa-facebook-f'; @endphp @elseif($row->social_icon == 'Twitter') @php $icon_code = 'fab fa-twitter'; @endphp @elseif($row->social_icon == 'LinkedIn') @php $icon_code = 'fab fa-linkedin-in'; @endphp @elseif($row->social_icon == 'YouTube') @php $icon_code = 'fab fa-youtube'; @endphp @elseif($row->social_icon == 'Pinterest') @php $icon_code = 'fab fa-pinterest-p'; @endphp @elseif($row->social_icon == 'GooglePlus') @php $icon_code = 'fab fa-google-plus-g'; @endphp @elseif($row->social_icon == 'Instagram') @php $icon_code = 'fab fa-instagram'; @endphp @endif {{ $row->social_url }}
@endif

{{ AMENITIES }}

@if($amenity->isEmpty()) {{ NO_RESULT_FOUND }} @else
    @php $i=0; @endphp @foreach($amenity as $row) @php $i++; @endphp @if(in_array($row->id,$existing_amenities_array))
  1. {{ $row->amenity_name }}
  2. @endif @endforeach
@endif

{{ PHOTOS }}

@if($listing_photos->isEmpty())
{{ NO_RESULT_FOUND }}
@else @foreach($listing_photos as $row)
@endforeach @endif

{{ VIDEOS }}

@if($listing_videos->isEmpty())
{{ NO_RESULT_FOUND }}
@else @foreach($listing_videos as $row)
@endforeach @endif

{{ ADDITIONAL_FEATURES }}

@if($listing_additional_features->isEmpty())
{{ NO_RESULT_FOUND }}
@else
@foreach($listing_additional_features as $row) @endforeach
{{ $row->additional_feature_name }} {{ $row->additional_feature_value }}
@endif
@endsection