From bdf94c68260aba488bc4706186401b3c697b21d2 Mon Sep 17 00:00:00 2001 From: Nicolas Florentin Date: Fri, 10 Nov 2023 09:13:23 +0100 Subject: [PATCH] (feat) when deleting an event, all reservations are canceled --- CHANGELOG.md | 1 + app/frontend/templates/events/deleteRecurrent.html | 1 + app/services/event_service.rb | 11 ++++++++++- app/services/slots_reservations_service.rb | 2 +- config/locales/app.public.en.yml | 1 + db/structure.sql | 3 ++- test/integration/events/delete_test.rb | 7 ++++++- 7 files changed, 22 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17bf62ff7..9b335c9e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - updates spanish translations - Fix a bug: avoids crash due to oidc config with scope = nil - Fix a bug: unable to see value for input group with long label on eventModal +- Improvement: when deleting an event, all reservations are canceled ## v6.3.0 2023 November 3 diff --git a/app/frontend/templates/events/deleteRecurrent.html b/app/frontend/templates/events/deleteRecurrent.html index 9ed1a1847..90acecbf8 100644 --- a/app/frontend/templates/events/deleteRecurrent.html +++ b/app/frontend/templates/events/deleteRecurrent.html @@ -5,6 +5,7 @@