1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-17 11:54:22 +01:00

[bug] email notification after reservation update have wrong previous date (#234)

This commit is contained in:
Sylvain 2020-10-20 15:14:11 +02:00
parent 24e6736f51
commit b5a4e724e8
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
- Fix a bug: changing the date of a training session does not prevent the selection of a different type of training
- Fix a bug: unable to change the date formats using the setup script
- Fix a bug: missing translation for projets drafts in public profile
- Fix a bug: email notification after reservation update have wrong previous date (#234)
- Updated contribution guidelines
- Updated summernote to 0.8.18
- Updated angular-summernote to 0.8.1

View File

@ -62,7 +62,7 @@ class Slot < ApplicationRecord
end
def set_ex_start_end_dates_attrs
update_columns(ex_start_at: start_at_was, ex_end_at: end_at_was)
update_columns(ex_start_at: start_at_before_last_save, ex_end_at: end_at_before_last_save)
end
def update_event_nb_free_places