@extends('layout.app') @section('content')

Room numbers – {{ $property->property_name }}

Room numbers are used to assign guests to rooms at check-in. They are separate from the room counts on the Inventory page.

@csrf

Summary

@foreach($roomTypes as $roomType) @php($total = (int) ($totals[$roomType->id] ?? 0)) @php($count = (int) ($numbered[$roomType->id] ?? 0)) @continue($total === 0 && $count === 0) @endforeach
Room typeRooms (inventory)Active room numbers
{{ $roomType->roomType }} {{ $total }} {{ $count }} @if($count < $total) ({{ $total - $count }} without a room number) @endif

All room numbers

@if($rooms->isEmpty())

No room numbers added yet.

@else
@foreach($rooms as $room) @endforeach
Room numberRoom typeStatus
@csrf @method('PUT')
@if($room->is_active) Active @else Inactive @endif
@csrf
@endif
@stop