@extends($layoutView ?? 'admin.layout.app') @section('content') @php $selectedAmenityIds = collect(old('sub_amenities', isset($property) ? $property->amenities->pluck('id')->all() : [])) ->map(fn ($id) => (int) $id) ->all(); $rates = old('rates', isset($property) ? $property->rates->map(fn ($rate) => [ 'start' => $rate->start_date, 'end' => $rate->end_date, 'nightly' => $rate->nightly, 'weekly' => $rate->weekly, 'monthly' => $rate->monthly, 'min_stay' => $rate->min_stay, ])->toArray() : []); $defaultRate = $property->defaultRate ?? null; @endphp
Property Setup

{{ isset($property) ? 'Edit Property' : 'Add Property' }}

Legacy property fields, default rates, amenities aur seasonal pricing .

Back to list
@csrf @if(isset($property)) @method('PUT') @endif
Basics

Property Information

Location

Address, Map & Coordinates

Stay Details

Capacity, Size & Bed Mix

Default Rate

One Default Rate Per Property

Amenities

Amenities Explorer

Select all amenities by expanding each category.

@foreach($amenities as $amenity)
@foreach($amenity->subAmenities as $subAmenity) @endforeach
@endforeach
Media

Main Image Upload

A main image will be uploaded from the property form, which will be saved as the default image.

@if(isset($property) && $property->mainImage)
Current Main Image
Main property image
@endif
Rates

Seasonal Rate Planner

Cancel
@endsection