Skip to content

Sports Fields & Types

Sports fields are the core bookable resources in HellaBooking. Configuration follows a two-level hierarchy: field types define shared properties, and individual fields inherit from their type.

Sports Field Types (Sportpalya tipus)

Navigate: Klub konfiguracio → Sportpalya tipus — /Club/SportsFieldType

Column Description
Name Display name
Text_Code Internal identifier
ReservationType_ID FK to ReservationType_Enum: Hourly (1) or Daily (2)
ServiceType_ID FK to ServiceType
Position Display order
IsPublic Visible to customers
Alias Alternative display name
Domain Domain scope
SplitPaymentEnabled OFF, OPTIONAL, or MANDATORY (nvarchar)

Demo Data

Name ID Reservation Type Position Split Payment
Tennis court 1 Hourly 1 OPTIONAL
Padel 2 Hourly 2 OPTIONAL

Sports Fields (Sportpalya)

Navigate: Klub konfiguracio → Sportpalya — /Club/SportsField

Column Description
Name Display name
Text_Code Internal identifier
SportsFieldType_ID FK to SportsFieldType_Enum
IsPublic Visible to customers
ParentSportsField_ID Nullable FK for composite fields
CustomerOrientationBackground Hex color code for calendar display
CustomerReservationEnabled Allow customer self-booking
SeasonPassEnabled Allow season pass usage

Demo Data

Field Type IsPublic Customer Booking Season Pass
Tennis Court 1–4 Tennis court (1) Yes Yes Yes
Padel 1–2 Padel (2) Yes Yes Yes

Composite fields

Use ParentSportsField_ID to group multiple courts into a single bookable unit (e.g., combining two courts for doubles play). The parent field appears as one slot on the calendar.

Resources (Eroforras)

Navigate: Klub konfiguracio → Eroforras

The Resource table (Name, Text_Code) defines additional bookable assets. The ReservationResource table links resources to reservations.

Note

The demo environment has 0 resource rows configured.

Access Control

Club manager only — SystemFunction: ClubConfiguration (ID=4).