{{-- Inventory for one room type at one property. Past dates (and everything when not $editable) are text only. --}}
@if($editable) @else
{{ $totalRooms }}
@endif
@if($editable) @endif
@unless($sellable)
This room type is not bookable at this property (the property or room type is inactive, or no rooms have been set). Availability shows 0.
@endunless @foreach($days as $date => $day) @endforeach
Date Rates Total Closed Booked Available
{{ $date }} {{ \Carbon\Carbon::parse($date)->format('D') }} @if($day['past']) Past @endif @if($day['open']) Open @else Closed @endif {{ $totalRooms }} @if($editable && !$day['past']) @else {{ $day['closed'] }} @endif {{ $day['booked'] }} {{ $day['available'] }}