My Listings

@if(auth()->user()->vacation_mode) Vacation @endif

@if(auth()->user()->vacation_mode) Your listings are visible but cannot be booked @else Manage your rental properties @endif

Vacation
@if (session()->has('message'))
{{ session('message') }}
@endif @if($showForm)

{{ $editMode ? 'Edit Listing' : 'Add New Listing' }}

@error('rental_type_id') {{ $message }} @enderror
@error('location_id') {{ $message }} @enderror
@error('title') {{ $message }} @enderror

Use line breaks for better readability. Describe features, amenities, and what makes your listing special.

@error('description') {{ $message }} @enderror

Select all amenities that apply to your listing

@php $rentalType = $rentalTypes->find($rental_type_id); $amenitiesList = $rentalType ? ($availableAmenities[$rentalType->name] ?? []) : []; @endphp @if($rental_type_id && count($amenitiesList) > 0)
@foreach($amenitiesList as $amenity) @endforeach

Selected: {{ count($amenities) }} amenities

@else

Please select a rental type first to see available amenities

@endif
@error('price_per_day') {{ $message }} @enderror
@error('buffer_hours') {{ $message }} @enderror @php $rentalType = $rentalTypes->find($rental_type_id); $recommendations = [ 'Car' => '2 hours', 'Houseboat' => '4-6 hours', 'Guesthouse' => '3-4 hours', 'Boat' => '2-3 hours', 'Fishing Trip' => '1-2 hours', ]; $recommendation = $rentalType && isset($recommendations[$rentalType->name]) ? $recommendations[$rentalType->name] : null; @endphp @if($recommendation)

Recommended: {{ $recommendation }}

@endif
@error('capacity') {{ $message }} @enderror
@error('available_units') {{ $message }} @enderror

Total units available for rent

@php $rentalType = $rentalTypes->find($rental_type_id); $showPickupLocations = $rentalType && in_array($rentalType->name, ['Car', 'Boat']); @endphp @if($showPickupLocations)
@if(auth()->user()->can_create_custom_locations) Manage Custom Locations @else
Custom Locations Disabled
@endif

Select locations where guests can pickup and dropoff this {{ strtolower($rentalType->name) }}

@if(count($adminPickupLocations) > 0 || count($customPickupLocations) > 0) @if(count($adminPickupLocations) > 0)

Admin (Default) Pickup/Dropoff Locations

@foreach($adminPickupLocations as $location) @endforeach
@endif @if(auth()->user()->can_create_custom_locations && count($customPickupLocations) > 0)

My Custom Pickup/Dropoff Locations ({{ $customLocationsCount }}/3)

@foreach($customPickupLocations as $location) @endforeach
@endif

Selected: {{ count($selectedPickupLocations) }} locations

@else

No pickup locations available. Contact admin or create your own custom locations.

@endif
@endif
@if($existingImages && count($existingImages) > 0)

Existing Images ({{ count($existingImages) }})

@foreach($existingImages as $index => $image)
@endforeach
@endif

Current: {{ count($existingImages) + count($images) }} / 15 images

@error('images.*') {{ $message }} @enderror @if($images)

New Images to Upload ({{ count($images) }})

@foreach($images as $image) @endforeach
@endif

Featured Listing

@if($is_featured) Active @else Not Featured @endif

Subject to admin approval with fee. Featured listings get premium placement and more visibility.

Learn More About Featured Listings @if(!$is_featured) Contact admin to feature this listing @endif

Offer discounts for longer bookings

@if(count($discountTiers) > 0)
@foreach($discountTiers as $index => $tier)
@endforeach
@else

No discount tiers added yet. Click "Add Tier" to create one.

@endif

Select additional services or extras guests can book

@if(count($availableAddOns) > 0)
@foreach($availableAddOns as $addOn)
{{ $addOn->name }}
{{ $addOn->description }}
Default: RM {{ number_format($addOn->price, 2) }} {{ $addOn->getPricingTypeLabel() }}
@if(in_array($addOn->id, $selectedAddOns))
RM per {{ strtolower($addOn->getPricingTypeLabel()) }}

Set your own price for this add-on

@endif
@endforeach

Selected: {{ count($selectedAddOns) }} add-ons

@else

No add-ons available. Contact administrator to create add-ons.

@endif
@if (session()->has('error'))
{{ session('error') }}
@endif
@endif
@forelse($listings as $listing)
@if($listing->images && count($listing->images) > 0) {{ $listing->title }} @else
@endif
{{ $listing->rentalType->name }} {{ $listing->location->name }} @if($listing->is_featured) Featured @endif @if(!$listing->is_available) Unavailable @else Available @endif

{{ $listing->title }}

{{ Str::limit($listing->description, 100) }}

RM {{ number_format($listing->price_per_day, 2)}} /day {{ $listing->capacity }} guests
@empty

No Listings Yet

Start earning by listing your rental property. It only takes a few minutes!

Quick Setup
5 minutes
Start Earning
Get bookings
Full Control
Manage easily
@endforelse