You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current price option feature is not flexible enough to allow mutliple prices for an event. It is not possible to name the price options and it is currently always required to have a validity for the price option. The getters getActivePriceOptions() and getCurrentPrice() are specially crafted to return price options and the price based on the validity of a price option.
The price option functionality will therefore be extended as following
Each price option has a "Title", a "Description" and a "Price"
Support for fe_group, start- and stop-time
Allow sorting of price options in event record
The event domain model will be extended/changed as following:
Getter and setter for price options. Getter returns price options sorted by sort order in backend
getActivePriceOptions() will be removed
Getter getCurrentPrice() which either returns the price field (if no price option is defined) or the price of the lowest price option.
The registration model will be extended as following:
New field price where the final price is saved (Tab: Payment)
New field price_option, where the selected price option is saved (Tab: Payment)
The saveRegistration() will be extended as following:
Determine and save the price for the event. Either price field if no price option is given or the price of price_option if given
Save the selected price_option
Ensure only available/valid price options can be saved
Add PSR-14 event to modify price before persistence
The text was updated successfully, but these errors were encountered:
…on price
* Price options now have a title and description field.
* Registrations now have a price and price option field
* If an event has price options, it is now required to submit a price options
in the registration process.
Closes#1185
The current price option feature is not flexible enough to allow mutliple prices for an event. It is not possible to name the price options and it is currently always required to have a validity for the price option. The getters
getActivePriceOptions()
andgetCurrentPrice()
are specially crafted to return price options and the price based on the validity of a price option.The price option functionality will therefore be extended as following
The event domain model will be extended/changed as following:
getActivePriceOptions()
will be removedgetCurrentPrice()
which either returns theprice
field (if no price option is defined) or the price of the lowest price option.The registration model will be extended as following:
price
where the final price is saved (Tab: Payment)price_option
, where the selected price option is saved (Tab: Payment)The
saveRegistration()
will be extended as following:price
field if no price option is given or the price ofprice_option
if givenprice_option
The text was updated successfully, but these errors were encountered: