I made the change and it visually appears as reserved. However, if you search for availability or select the same reserved date, the option to reserve the remaining amount appears. I would like to know which function or how to modify the function that when finalizing the reservation is placed the amount of reservations and make this function automatically enter the reserved status as it is done manually in the back end. Thus, the reservation is completed and the date closed. I think it would be an interesting alternative.