Reservation Options¶
Reservation options are add-ons that customers or staff can attach to a booking. Each option adds a fixed or hourly charge to the base rental fee.
Option Types (Foglalasi opcio tipus)¶
Navigate: Klub konfiguracio → Foglalasi opcio tipus — /Club/OptionType
| Column | Description |
|---|---|
| SportsFieldType_ID | Nullable FK — limits this option type to a specific field type |
| Name | Display name |
| Text_Code | Internal identifier |
| Position | Display order |
| IsMandatory | 1 = must be selected on every reservation |
| IsActive | 1 = available for use |
Options (Foglalasi opcio)¶
Navigate: Klub konfiguracio → Foglalasi opcio — /Club/Option
| Column | Description |
|---|---|
| OptionType_ID | FK to OptionType |
| Name | Display name |
| Text_Code | Internal identifier |
| FixedPrice | Flat charge regardless of duration (decimal, nullable) |
| HourlyPrice | Per-hour charge multiplied by reservation duration (decimal, nullable) |
| IsDefault | 1 = pre-selected when creating a reservation |
How Options Work¶
Options appear as checkboxes or dropdowns in the reservation creation modal. Their price is added to the base rental fee.
| Pricing Mode | Calculation |
|---|---|
| Fixed price | FixedPrice added once |
| Hourly price | HourlyPrice x duration (hours) |
The ReservationOption table links Option_ID to either a Reservation_ID or a RecurringReservation_ID.
Price calculation
Selected options are passed via the ReservationOptionIDs parameter to the CalculateReservationPriceCallout stored procedure, which sums rental fee + trainer fee + option fees + convenience fee.
Demo State¶
Info
Both OptionType and Option tables have 0 rows in the demo environment. No options are currently configured.