@extends('layouts.admin') @section('title', 'Governança — Housekeeping') @push('styles') @endpush @section('breadcrumb') Governança @endsection @section('content') {{-- Toast --}} {{-- Status Picker Dropdown --}}
@foreach($statusConfig as $key => [$label, $color])
{{ $label }}
@endforeach
Cancelar
@forelse($categories as $category) @if($category->rooms->isNotEmpty())
{{ $category->name }} ({{ $category->rooms->count() }} UH{{ $category->rooms->count() > 1 ? 's' : '' }})
@foreach($category->rooms as $room) @php $sc = $statusConfig[$room->status] ?? ['Desconhecido', '#94a3b8']; @endphp
{{ $room->name }}
{{ $room->floor ?? 'Térreo' }}
{{ $sc[0] }}
@endforeach
@endif @empty

Nenhum quarto cadastrado.

@endforelse @push('scripts') @endpush @endsection