@extends('layouts.main-layout') @section('title') All Users | Dashboard @endsection @section('content')

Current Accommodation Floor Rooms

@foreach ($floors as $floor)

{{ $floor->FloorName }}

@php $rooms = $room->where('FloorId', $floor->FloorId)->where('RoomId', '!=' ,0)->where('AccommodationId', $accommodationId)->get(); $loopIteration = 0; // $totalRooms = count($rooms); @endphp
@foreach ($rooms as $room)
{{ $room->RoomName }}
{{ $room->roomType->RoomTypeName }}
@endforeach
@endforeach
@endsection