@extends('layouts.front') @push('css') @endpush @section('content') @if($data->user->user_type == 'builder/developer')

{{ $data->name ?? '' }}

@foreach ($data->floorplans as $plan)

{{ strtoupper(str_replace('-', ' ', $plan->name)) }} Flat

₹{{ (int) $plan->expected_price }}
@if (!$loop->last)
@endif
@endforeach
{{ $data->locality }}, {{ $data->location->name ?? '' }}

@lang('Property Details')

@if($data->sale_type)

{{ __('Sale Type : ') }} {{ ucwords(str_replace('-', ' ', $data->sale_type)) }}

@endif @if ($data->construction_status == 'ready-to-move')

{{ __('Property Age : ') }} {{ $data->property_age . ' ' . ($data->property_age == 1 ? 'Year' : 'Years') }}

@endif @if ($data->construction_status == 'under-construction')

{{ __('Possession Date : ') }} {{ date('d-m-Y', strtotime($data->possession_date)) }}

@endif
{{-- flats details --}} @if (count($data->floorplans) > 0)

@lang('Flats Details')

@foreach ($data->floorplans as $key => $plan)

{{ $plan->size ?? ''}}


@if ($plan->no_of_bathroom)

{{ __('No. of Bathrooms : ') }} {{ ucwords(str_replace('-', ' ', $plan->no_of_bathroom)) }} Bath

@endif @if ($plan->no_of_balcony)

{{ __('No. of Balcony : ') }} {{ ucwords(str_replace('-', ' ', $plan->no_of_balcony)) }}

@endif @if ($plan->covered_parking)

{{ __('Covered Parking : ') }} {{ ucwords(str_replace('_', ' ', $plan->covered_parking)) }}

@endif @if ($plan->open_parking)

{{ __('Open Parking : ') }} {{ ucwords(str_replace('-', ' ', $plan->open_parking)) }}

@endif @if ($plan->furnish_type)

{{ __('Furnish Type : ') }} {{ ucwords(str_replace('-', ' ', $plan->furnish_type)) }}

@endif @if ($plan->built_up_area)

{{ __('Built Up Area : ') }} {{ $plan->built_up_area }} {{ $plan->area_unit == 'sqft' ? 'sq.ft' : 'sq.mtr' }}

@endif @if ($plan->carpet_area)

{{ __('Carpet Area : ') }} {{ $plan->carpet_area }} {{ $plan->area_unit == 'sqft' ? 'sq.ft' : 'sq.mtr' }}

@endif @if ($plan->total_floors)

{{ __('Total Floors : ') }} {{ $plan->total_floors }}

@endif @if ($plan->property_on_floor)

{{ __('Property On Floor : ') }} {{ ucwords($plan->property_on_floor) }}

@endif @if ($plan->property_on_floor)

Price Per ({{ $plan->area_unit == 'sqft' ? 'sq.ft' : 'sq.mtr' }}) ₹{{ (int) $plan->price_per_sqft }}

@endif @if ($plan->expected_price)

{{ __('Expected Price : ') }} ₹{{ (int) $plan->expected_price }}

@endif
@endforeach
@endif @if ($data->attributes) @foreach ($attribute_name = json_decode($data->attributes, true) as $key => $attributes)

{{ $key }}

@foreach ($attributes as $key => $id)

{{ DB::table('attribute_options')->where('id', $id)->first()->name ?? '' }}

@endforeach
@endforeach @endif @if (!empty($data->facilityDistances) && $data->facilityDistances->count() > 0)

Nearby Facilities

@foreach ($data->facilityDistances as $distance)

{{ $distance->facility->name ?? 'N/A' }} - {{ $distance->distance }} {{ $distance->distance_unit }}

@endforeach
@endif @if (count($data->floorplans) > 0)

@lang('Floor Plan')

@foreach ($data->floorplans as $key => $plan)

Floor Plan
@endforeach
@endif

{{ count($reviews) }} @lang('Reviews')

    @foreach ($reviews as $key => $review)
  • {{ $review->user->name }}

    {{ $review->created_at->format('d M Y') }}

    {{ $review->message }}

  • @endforeach

@lang('Write A Review')

@csrf
@csrf
Contact Seller
Property Image {{ $data->user->name }}
 {{ $data->user->user_type == 'Agent' ? 'Seller' : $data->user->user_type }}
+91-{{ substr($data->user->phone, 0, 4) }}-XXX-XXX
@if (auth()->check())

Hi {{ auth()->user()->name }}!

@endif @if ($data->isContacted) @endif {{-- @endif --}}

Please share your contact

@if ($data->admin) @else @endif

@else

{{ $data->name ?? '' }}

{{ showAmount($data->price ?? ($data->expacted_price ?? '')) }} / {{ $data->payment_duration }} @if ($data->type == 'for_buy') @lang('For Buy') @else @lang('For Sell') @endif

{{ $data->locality }}, {{ $data->location->name ?? '' }}

@lang('Property Info')

@if($data->sale_type)

{{ __('Sale Type : ') }} {{ ucwords(str_replace('-', ' ', $data->sale_type)) }}

@endif @if ($data->construction_status == 'ready-to-move')

{{ __('Property Age : ') }} {{ $property_age . ' ' . ($property_age == 1 ? 'Year' : 'Years') }}

@endif @if ($data->construction_status == 'under-construction')

{{ __('Possession Date : ') }} {{ $possession_date }}

@endif @if ($data->no_of_bhk)

{{ __('No. of BHK : ') }} {{ strtoupper(str_replace('-', ' ', $no_of_bhk)) }}

@endif @if ($data->no_of_bathroom)

{{ __('No. of Bathrooms : ') }} {{ ucwords(str_replace('-', ' ', $no_of_bathroom)) }} Bath

@endif @if ($data->no_of_balcony)

{{ __('No. of Balcony : ') }} {{ ucwords(str_replace('-', ' ', $no_of_balcony)) }}

@endif @if ($data->covered_parking)

{{ __('Covered Parking : ') }} {{ ucwords(str_replace('_', ' ', $covered_parking)) }}

@endif @if ($data->open_parking)

{{ __('Open Parking : ') }} {{ ucwords(str_replace('_', ' ', $open_parking)) }}

@endif @if ($data->furnish_type)

{{ __('Furnish Type : ') }} {{ ucwords(str_replace('_', ' ', $furnish_type)) }}

@endif

@lang('Property Overview')

@if ($data->built_up_area)

{{ __('Built Up Area : ') }} {{ $built_up_area }} {{ $area_unit }}

@endif @if ($data->carpet_area)

{{ __('Carpet Area : ') }} {{ $carpet_area }} {{ $area_unit }}

@endif @if ($data->total_floors)

{{ __('Total Floors : ') }} {{ $total_floors }}

@endif @if ($data->property_on_floor)

{{ __('Property On Floor : ') }} {{ ucwords($data->property_on_floor) }}

@endif @if ($data->located_inside)

{{ __('Located Inside : ') }} {{ $located_inside }}

@endif @if ($data->zone_type)

{{ __('Zone Type : ') }} {{ $zone_type }}

@endif @if ($data->price_per_sqft)

{{ __('Price : ') }} {{ $price_per_sqft }}/{{ $area_unit }}

@endif
@if ($data->attributes) @foreach ($attribute_name = json_decode($data->attributes, true) as $key => $attributes)

{{ $key }}

@foreach ($attributes as $key => $id)

{{ DB::table('attribute_options')->where('id', $id)->first()->name ?? '' }}

@endforeach
@endforeach @endif @if (!empty($data->facilityDistances) && $data->facilityDistances->count() > 0)

Nearby Facilities

@foreach ($data->facilityDistances as $distance)

{{ $distance->facility->name ?? 'N/A' }} - {{ $distance->distance }} {{ $distance->distance_unit }}

@endforeach
@endif @if (count($data->floorplans) > 0)

@lang('Floor Plan')

@foreach ($data->floorplans as $key => $plan)

Floor Plan
@endforeach
@endif

{{ count($reviews) }} @lang('Reviews')

    @foreach ($reviews as $key => $review)
  • {{ $review->user->name }}

    {{ $review->created_at->format('d M Y') }}

    {{ $review->message }}

  • @endforeach

@lang('Write A Review')

@csrf
@csrf
Contact Seller
Property Image {{ $data->user->name }}
 {{ $data->user->user_type == 'Agent' ? 'Seller' : $data->user->user_type }}
+91-{{ substr($data->user->phone, 0, 4) }}-XXX-XXX
@if (auth()->check())

Hi {{ auth()->user()->name }}!

@endif @if ($data->isContacted) @endif {{-- @endif --}}

Please share your contact

@if ($data->admin) @else @endif

@endif @includeIf('partials.front.cta') @endsection @push('js') @endpush