@if(isset($property->title))
@php $title=$property->title @endphp
@elseif(old('title'))
@php $title=old('title') @endphp
@else
@php $title='' @endphp
@endif
@error('title')
{{ $message }}
@enderror
@if(isset($property->property_type_id))
@php $property_type_id=$property->property_type_id @endphp
@elseif(old('property_type_id'))
@php $property_type_id=old('property_type_id') @endphp
@else
@php $property_type_id=0 @endphp
@endif
@error('property_type_id')
{{ $message }}
@enderror
@if(isset($property->no_of_bedrooms))
@php $no_of_bedrooms=$property->no_of_bedrooms @endphp
@elseif(old('no_of_bedrooms'))
@php $no_of_bedrooms=old('no_of_bedrooms') @endphp
@else
@php $no_of_bedrooms='' @endphp
@endif
@error('no_of_bedrooms')
{{ $message }}
@enderror
@if(isset($property->no_of_bathrooms))
@php $no_of_bathrooms=$property->no_of_bathrooms @endphp
@elseif(old('no_of_bathrooms'))
@php $no_of_bathrooms=old('no_of_bathrooms') @endphp
@else
@php $no_of_bathrooms='' @endphp
@endif
@error('no_of_bathrooms')
{{ $message }}
@enderror
@if(isset($property->sqft))
@php $sqft=$property->sqft @endphp
@elseif(old('sqft'))
@php $sqft=old('sqft') @endphp
@else
@php $sqft='' @endphp
@endif
@error('sqft')
{{ $message }}
@enderror
@if(isset($property->width))
@php $width=$property->width @endphp
@elseif(old('width'))
@php $width=old('width') @endphp
@else
@php $width='' @endphp
@endif
@error('sqft')
{{ $message }}
@enderror
@if(isset($property->depth))
@php $depth=$property->depth @endphp
@elseif(old('depth'))
@php $depth=old('depth') @endphp
@else
@php $depth='' @endphp
@endif
@error('sqft')
{{ $message }}
@enderror
@if(isset($property->price))
@php $price=$property->price @endphp
@elseif(old('price'))
@php $price=old('price') @endphp
@else
@php $price='' @endphp
@endif
@error('price')
{{ $message }}
@enderror
@if(isset($property->description))
@php $description=$property->description @endphp
@elseif(old('name'))
@php $description=old('description') @endphp
@else
@php $description='' @endphp
@endif
@error('description')
{{ $message }}
@enderror
@if(isset($property->address))
@php $address=$property->address @endphp
@elseif(old('address'))
@php $address=old('address') @endphp
@else
@php $address='' @endphp
@endif
@error('address')
{{ $message }}
@enderror
@if(isset($property->no_of_garage))
@php $no_of_garage=$property->no_of_garage @endphp
@elseif(old('no_of_garage'))
@php $no_of_garage=old('no_of_garage') @endphp
@else
@php $no_of_garage='' @endphp
@endif
@error('no_of_garage')
{{ $message }}
@enderror
@if(isset($property->garage_size))
@php $garage_size=$property->garage_size @endphp
@elseif(old('garage_size'))
@php $garage_size=old('garage_size') @endphp
@else
@php $garage_size='' @endphp
@endif
@error('garage_size')
{{ $message }}
@enderror
@if(isset($property->property_status))
@php $property_status=$property->property_status @endphp
@elseif(old('property_status'))
@php $property_status=old('property_status') @endphp
@else
@php $property_status='' @endphp
@endif
@error('property_status')
{{ $message }}
@enderror
@if(isset($property->exterior_features))
@php $exterior_features=$property->exterior_features @endphp
@elseif(old('exterior_features'))
@php $exterior_features=old('exterior_features') @endphp
@else
@php $exterior_features='' @endphp
@endif
@error('exterior_features')
{{ $message }}
@enderror
@if(isset($property->roof))
@php $roof=$property->roof @endphp
@elseif(old('roof'))
@php $roof=old('roof') @endphp
@else
@php $roof='' @endphp
@endif
@error('roof')
{{ $message }}
@enderror
@if(isset($property->yard))
@php $yard=$property->yard @endphp
@elseif(old('yard'))
@php $yard=old('yard') @endphp
@else
@php $yard='' @endphp
@endif
@error('yard')
{{ $message }}
@enderror
@if(isset($property->types_of_rooms))
@php $types_of_rooms=$property->types_of_rooms @endphp
@elseif(old('types_of_rooms'))
@php $types_of_rooms=old('types_of_rooms') @endphp
@else
@php $types_of_rooms='' @endphp
@endif
@error('types_of_rooms')
{{ $message }}
@enderror
@if(isset($property->flooring))
@php $flooring=$property->flooring @endphp
@elseif(old('flooring'))
@php $flooring=old('flooring') @endphp
@else
@php $flooring='' @endphp
@endif
@error('flooring')
{{ $message }}
@enderror
@if(isset($property->no_of_kitchen))
@php $no_of_kitchen=$property->no_of_kitchen @endphp
@elseif(old('no_of_kitchen'))
@php $no_of_kitchen=old('no_of_kitchen') @endphp
@else
@php $no_of_kitchen='' @endphp
@endif
@error('no_of_kitchen')
{{ $message }}
@enderror
@if(isset($property->appliances_counters))
@php $appliances_counters=$property->appliances_counters @endphp
@elseif(old('appliances_counters'))
@php $appliances_counters=old('appliances_counters') @endphp
@else
@php $appliances_counters='' @endphp
@endif
@error('appliances_counters')
{{ $message }}
@enderror
@if(isset($property->dining))
@php $dining=$property->dining @endphp
@elseif(old('dining'))
@php $dining=old('dining') @endphp
@else
@php $dining='' @endphp
@endif
@error('dining')
{{ $message }}
@enderror
@if(isset($property->master_suite))
@php $master_suite=$property->master_suite @endphp
@elseif(old('master_suite'))
@php $master_suite=old('master_suite') @endphp
@else
@php $master_suite='' @endphp
@endif
@error('master_suite')
{{ $message }}
@enderror
@if(isset($property->bathroom_feature))
@php $bathroom_feature=$property->bathroom_feature @endphp
@elseif(old('bathroom_feature'))
@php $bathroom_feature=old('bathroom_feature') @endphp
@else
@php $bathroom_feature='' @endphp
@endif
@error('bathroom_feature')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror
@if(isset($property->image) && $property->image!="")
@php $image=asset(Storage::url('public/properties')).'/'.$property->image @endphp
@else
@php $image='' @endphp
@endif
@if($image!="")
@endif
@if(isset($property))
@foreach($property->images as $key=>$propertyImage)
@if(isset($propertyImage->image) && $propertyImage->image!="")
@php $image=asset(Storage::url('public/properties')).'/'.$propertyImage->image @endphp
@else
@php $image='' @endphp
@endif
@endforeach
@endif