1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(fix) event.pre_registration_end_date (was set to beginning_of_day instead of end_of_day)

This commit is contained in:
Nicolas Florentin 2023-11-23 15:37:09 +01:00
parent e16cd061f2
commit be1f0cc883
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,8 @@
## v6.3.4 2023 November 23
- fix a bug: wrong amount when pay a reservation with payment schedule
- fix regresion on PaymentScheduleItemWorker from v6.3.2
- fix a bug: regresion on PaymentScheduleItemWorker from v6.3.2
- fix a bug: event.pre_registration_end_date (was set to beginning_of_day instead of end_of_day)
## v6.3.3 2023 November 14

View File

@ -28,6 +28,7 @@ class EventService
price_cat[:amount] = to_centimes(price_cat[:amount])
end
end
params[:pre_registration_end_date] = Date.parse(params[:pre_registration_end_date]).end_of_day if params[:pre_registration_end_date]
# return the resulting params object
params
end