mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) unable to reserve an event
This commit is contained in:
parent
f7c37a5074
commit
782b4bfa0f
@ -1,5 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: unable to reserve an event
|
||||
|
||||
## v5.8.0 2023 March 03
|
||||
|
||||
- OpenAPI events endpoint returns category, theme and age_range
|
||||
|
@ -121,7 +121,7 @@ class Reservation < ApplicationRecord
|
||||
end
|
||||
|
||||
def extend_subscription
|
||||
Subscriptions::ExtensionAfterReservation.new(self).extend_subscription_if_eligible
|
||||
::Subscriptions::ExtensionAfterReservation.new(self).extend_subscription_if_eligible
|
||||
end
|
||||
|
||||
def notify_member_create_reservation
|
||||
|
@ -1,5 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Services around subscriptions
|
||||
module Subscriptions; end
|
||||
|
||||
# Expire the given subscription
|
||||
class Subscriptions::ExpireService
|
||||
class << self
|
||||
|
@ -1,5 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Services around subscriptions
|
||||
module Subscriptions; end
|
||||
|
||||
# Extend the user's current subscription after his first training reservation if
|
||||
# he subscribed to a rolling plan
|
||||
class Subscriptions::ExtensionAfterReservation
|
||||
|
Loading…
x
Reference in New Issue
Block a user