Testing room type resolution with debugging to identify the "Deluxe Suite" issue
🔍 HotelBookingCalendar - Room 763 type resolution: {
room_type_id: 1,
resolved_room_type_name: "Standard Room",
room_type: undefined
}
🔧 HotelBookingCalendar - Using room_type_id fallback for Room 763: Standard Room
✅ Adding available room: ID 763, Type: Standard Room, Number: 763
🔍 roomsForSelectedDates - Room 763 data: {
room_type_id: 1,
room_type_name: "Standard Room",
original_room_type: undefined
}
🔍 roomsByType - Processing Room 763: {
room_type_id: 1,
room_type_name: "Standard Room",
original_room_type: undefined
}
🔧 roomsByType - Created group for type 1 with name: Standard Room
🏨 Final roomsByType result: [
{ id: 1, name: "Standard Room", room_count: 2 },
{ id: 2, name: "Superior Room", room_count: 2 },
{ id: 3, name: "Deluxe Suite", room_count: 1 }
]