Skip to content

Course Packages

Course packages group recurring training sessions with fee schedules, credit systems, and waiting lists.

Edzéscsomagok → Tanfolyamok (/Club/CoursePackage)

Course Package Configuration

The CoursePackage table stores all package definitions.

Column Description
Name Display name
Category Package category
ValidFrom / ValidTo Active date range
MonthlyFee Standard monthly fee
MonthlyFeeDueDay Day of month when fee is due
Rank Integer rank for enrollment eligibility
AttendanceCredit Credits granted per period
PrivateTrainerFeeDiscount Discount on private trainer fees
MaxAttendance Maximum participants
MaxOverload Extra slots beyond MaxAttendance
IsWaitingList Enable waiting list when full
IsTrainerFee Whether trainer fees apply
IsPublic Visible in public booking
BgColor Calendar background color
InvoiceAccount_ID Linked invoice account
Notes Free-text notes

The demo environment has 2 course packages configured.

Rank System

Each package has an integer Rank. Two system parameters control rank flexibility for enrollment:

  • CourseRankAllowanceMinus=1 — user can enroll in packages up to 1 rank below their current rank
  • CourseRankAllowancePlus=0 — user cannot enroll in packages above their current rank

Warning

Setting CourseRankAllowancePlus too high may allow under-qualified participants into advanced courses.

Course Package Fees

Custom fee schedules are stored in CoursePackageFee:

Column Description
FeeAmount Fee amount for the schedule
FeeDueDate Date when this fee is due

These override MonthlyFee when a non-standard payment schedule is needed.

User Enrollment

Enrollment is tracked in UserCoursePackage, linking a user to a course package and optionally a recurring reservation.

Column Description
User_ID Enrolled user
CoursePackage_ID Target package
RecurringReservation_ID Linked recurring reservation
IsWaiting Waiting list flag

System Parameters

Parameter Value Description
CourseSubscriptionNotes OPTIONAL Notes field during enrollment
CourseSubscriptionActiveByDefault YES New enrollments are active immediately
CourseSubscriptionAllowedWithoutCredit NO Enrollment requires available credit
PreferredInvoiceAccount USER Use the user's own invoice account

Credit Integration

Course packages can link to TrainingCreditDefinition for credit-based attendance tracking. When configured, each enrollment grants a set number of credits that are consumed per attended session.

Tip

Use credit-based packages for pay-per-session models where customers prepay for a block of sessions.