Problem with all calls to
$roomWriter->canRoomBeBooked($roomId)
does not work for multiple weeks
database problem
Rooms should have a field week to properly select rooms per week
(currently the invariant is that rooms are the same in both weeks, which is wrong for 2017)
workaround/solution for 2017
Just doubled the available capacity to allow 4 bookings for a 2-bed room due to both weeks -
is a temporary workaround to prevent complete disabling of checks.
context
Problem with all calls to $roomWriter->canRoomBeBooked($roomId) does not work for multiple weeks
database problem
Rooms should have a field week to properly select rooms per week (currently the invariant is that rooms are the same in both weeks, which is wrong for 2017)
workaround/solution for 2017
Just doubled the available capacity to allow 4 bookings for a 2-bed room due to both weeks - is a temporary workaround to prevent complete disabling of checks.
2018
See issues