@extends('user.layout') @section('title') {{__('user.Edit Property')}} @endsection @section('user-dashboard')
@csrf

{{__('user.Edit Property')}} {{__('user.All Properties')}}

{{__('user.Basic Information')}}
@if ($property->property_purpose_id==2)
@endif @if ($property->property_purpose_id==1)
@endif
{{__('user.Others Information')}}
{{__('user.Slider Images')}}
@foreach ($property->propertyImages as $item)
property
@endforeach
{{__('user.Image, PDF And Video')}}
@if ($property->file)

{{ $property->file }}

@endif
property
property
@if ($property->video_link) @endif
@if ($package->number_of_aminities==-1)
{{__('user.Aminities')}}
@foreach ($aminities as $aminity) @php $isChecked=false; @endphp @foreach ($property->propertyAminities as $amnty) @if ($aminity->id==$amnty->aminity_id) @php $isChecked=true; @endphp @endif @endforeach
@endforeach
@php $aminityList=[]; foreach ($aminities as $index => $aminity) { $aminityList[]=$aminity->id; } @endphp @else
{{__('user.Aminities')}}
@foreach ($aminities as $aminity) @php $isChecked=false; @endphp @foreach ($property->propertyAminities as $amnty) @if ($aminity->id==$amnty->aminity_id) @php $isChecked=true; @endphp @endif @endforeach
@endforeach
@php $aminityList=[]; foreach ($aminities as $index => $aminity) { $aminityList[]=$aminity->id; } @endphp @endif
{{__('user.Nearest Locations')}}
@if ($property->propertyNearestLocations->count()>0) @foreach ($property->propertyNearestLocations as $property_item)
@endforeach @endif
{{__('user.Property Details And Google Map')}}
@endsection