{{ DESCRIPTION }}
{!! clean($detail->listing_description) !!}
@if(!$listing_photos->isEmpty()){{ PHOTOS }}
@endif @if(!$listing_videos->isEmpty()){{ VIDEOS }}
@endif @if($detail->listing_map!=''){{ LOCATION_MAP }}
{!! $detail->listing_map !!}
@endif
{{ FEATURES }}
{{ PRICE }} | @if(!session()->get('currency_symbol')) ${{ number_format($detail->listing_price) }} @else {{ session()->get('currency_symbol') }}{{ number_format($detail->listing_price*session()->get('currency_value')) }} @endif |
{{ TYPE }} | {{ $detail->listing_type }} |
{{ EXTERIOR_COLOR }} | {{ $detail->listing_exterior_color }} |
{{ INTERIOR_COLOR }} | {{ $detail->listing_interior_color }} |
{{ CYLINDER }} | {{ $detail->listing_cylinder }} |
{{ FUEL_TYPE }} | {{ $detail->listing_fuel_type }} |
{{ TRANSMISSION }} | {{ $detail->listing_transmission }} |
{{ ENGINE_CAPACITY }} | {{ $detail->listing_engine_capacity }} |
{{ VIN }} | {{ $detail->listing_vin }} |
{{ BODY }} | {{ $detail->listing_body }} |
{{ SEAT }} | {{ $detail->listing_seat }} |
{{ WHEEL }} | {{ $detail->listing_wheel }} |
{{ DOOR }} | {{ $detail->listing_door }} |
{{ MILEAGE }} | {{ $detail->listing_mileage }} |
{{ MODEL_YEAR }} | {{ $detail->listing_model_year }} |
{{ AMENITIES }}
-
@foreach($listing_amenities as $row)
@php
$res = DB::table('amenities')->where('id',$row->amenity_id)->first();
@endphp
- {{ $res->amenity_name }} @endforeach
{{ ADDITIONAL_FEATURES }}
{{ $row->additional_feature_name }} | {{ $row->additional_feature_value }} |
{{ CONTACT_INFORMATION }}
{{ ADDRESS }} | {!! clean(nl2br($detail->listing_address)) !!} |
{{ PHONE_NUMBER }} | {!! clean(nl2br($detail->listing_phone)) !!} |
{{ EMAIL_ADDRESS }} | {!! clean(nl2br($detail->listing_email)) !!} |
{{ WEBSITE }} | {{ $detail->listing_website }} |
{{ REVIEWS }} ({{ count($reviews) }})
@if($overall_rating == 5)
@elseif($overall_rating == 4.5)
@elseif($overall_rating == 4)
@elseif($overall_rating == 3.5)
@elseif($overall_rating == 3)
@elseif($overall_rating == 2.5)
@elseif($overall_rating == 2)
@elseif($overall_rating == 1.5)
@elseif($overall_rating == 1)
@elseif($overall_rating == 0)
@endif
@if(count($reviews) != 0)
({{ OVERALL }} {{ $overall_rating }} {{ OUT_OF_5 }})
@else
({{ OVERALL }} 0 {{ OUT_OF_5 }})
@endif
@if($reviews->isEmpty())
{{ NO_REVIEW_FOUND }}
@else
@foreach($reviews as $item)
@if($item->agent_type=="Customer")
@php
$u_detail = DB::table('users')->where('id',$item->agent_id)->first();
@endphp
@else
@php
$u_detail = DB::table('admins')->where('id',$item->agent_id)->first();
@endphp
@endif
@endforeach
@endif
@if($u_detail->photo == '')
@else
@endif
 }})
{{ $u_detail->name }}
{{ \Carbon\Carbon::parse($u_detail->created_at)->format('d M, Y') }}
@if($item->rating == 5)
@elseif($item->rating == 4.5)
@elseif($item->rating == 4)
@elseif($item->rating == 3.5)
@elseif($item->rating == 3)
@elseif($item->rating == 2.5)
@elseif($item->rating == 2)
@elseif($item->rating == 1.5)
@elseif($item->rating == 1)
@endif
{{ WRITE_A_REVIEW }}
@if($current_auth_user_id == 0)
{{ LOGIN_TO_REVIEW }}
@elseif($current_auth_user_id == $agent_detail->id)
{{ OWN_PRODUCT_REVIEW_STOP }}
@elseif($already_given == 1)
{{ ALREADY_GIVEN_REVIEW_STOP }}
@else
@endif
{!! clean($item->review) !!}