Closed NiclO1337 closed 6 months ago
Describe the bug When deleting a table, it should make the table avalible to be reserved again but the table is still red in book a table page.
To Reproduce Steps to reproduce the behavior:
Expected behavior When reservation is deleted, the table should become avalible for reserving again.
Solved by adding:
reservation.table.reserved = False reservation.table.save() into the delete_reservation view before deleting the reservation.
Describe the bug When deleting a table, it should make the table avalible to be reserved again but the table is still red in book a table page.
To Reproduce Steps to reproduce the behavior:
Expected behavior When reservation is deleted, the table should become avalible for reserving again.