@extends('layouts.admin') @section('title', $item->exists ? 'Edit Resort' : 'Add Resort') @section('content') @include('admin.resorts.errors')
{{ $item->exists ? $item->name : 'New Resort' }}
All Resorts
@csrf @if($item->exists) @method('PUT') @endif
Resort Details
Photos & Facilities
@if($item->banner)Current resort cover@endif
@include('admin.resorts.gallery')
Facilities
@forelse($facilities as $facility)
id, old('facilities', $item->facilities->pluck('id')->all())))>
@empty

No facilities have been added yet.

@endforelse
Booking & Availability
@foreach(['source_type' => ['OWN' => 'Own resort', 'PARTNER' => 'Partner resort'], 'booking_mode' => ['DIRECT' => 'Direct booking', 'REQUEST' => 'Request to book', 'DISABLED' => 'Bookings disabled'], 'availability_mode' => ['OWN_INVENTORY' => 'Own inventory', 'ALLOCATED_INVENTORY' => 'Supplier allocation', 'ON_REQUEST' => 'On request']] as $key => $options)
@endforeach
@foreach(['check_in_time' => 'Check-in time', 'check_out_time' => 'Check-out time'] as $key => $label)
@endforeach @foreach(['tax_basis_points' => 'Tax (basis points)', 'service_charge' => 'Service charge per booking', 'hold_minutes' => 'Payment hold (minutes)'] as $key => $label)
@if($key === 'tax_basis_points')100 basis points = 1% tax.@endif
@endforeach
Guest Policies
@foreach(['cancellation_policy', 'child_policy', 'extra_bed_policy'] as $key)
@endforeach
hasAny(['slug', 'latitude', 'longitude', 'seo_title', 'seo_description'])) open @endif> Website URL, Map & SEO
@foreach(['slug' => 'URL slug', 'latitude' => 'Latitude', 'longitude' => 'Longitude', 'seo_title' => 'SEO title', 'seo_description' => 'SEO description'] as $key => $label)
@endforeach
@foreach(['is_active' => 'Active', 'is_featured' => 'Featured on website'] as $key => $label)
$key))>
@endforeach
@if($item->exists)
Room Types
Add Room Type
@forelse($item->rooms as $room) @empty @endforelse
RoomInventory / AllocationPriceActions
{{ $room->name }} @unless($room->is_active)Inactive@endunless {{ $room->total_rooms }} / {{ $room->allocated_rooms }} {{ number_format($room->selling_price, 2) }}
No room types added yet.
@csrf @method('DELETE')
@endif @endsection @include('admin.partials._richtext') @push('scripts') @endpush