@extends('layouts.admin') @section('title', $resort->name.' — '.$room->name) @section('content') @include('admin.resorts.errors')
All end dates are exclusive: a block ending on 13 October blocks nights up to 12 October. Default inventory: {{ $resort->availability_mode === 'ALLOCATED_INVENTORY' ? $room->allocated_rooms : $room->total_rooms }} rooms.
@foreach(['inventory' => 'Date Inventory / Stop Sell', 'rates' => 'Nightly Rates', 'blocks' => 'Room Blocks'] as $kind => $title)| Date(s) | Details | |
|---|---|---|
| {{ $entry->date ?? $entry->start_date }} @if(isset($entry->end_date)) → {{ $entry->end_date }} @endif | @if($kind === 'inventory')Quantity: {{ $entry->quantity ?? 'Default' }} / Stop Sell: {{ $entry->stop_sell ? 'Yes' : 'No' }} @elseif($kind === 'blocks'){{ $entry->quantity }} rooms / {{ $entry->reason }} @else {{ $entry->name }} / {{ $entry->selling_price }} / Priority {{ $entry->priority }} @if($costAccess) / Cost {{ $entry->cost_price ?? 'Default' }} @endif @endif | @if($kind !== 'inventory')@else Save the same date to replace this override. @endif |