Trainer Assignment & Pay¶
Manage trainer pay grades, assignment to reservations, and salary reporting.
Navigation¶
- Klub konfiguráció → Edző kategória (Trainer Pay Grade) — define pay grades
- Szezon konfiguráció → Edzői díj (Trainer Pay Grade Fee) — configure per-season fees
- Foglalások → Edző hozzárendelés (
/Club/Reservation/ReservationList/3) — assign trainers to reservations - Riportok → Edzői fizetések (
/Club/Report/TrainerSalaries) — salary report
Pay Grades¶
Five trainer pay grades are defined in TrainerPayGrade_Enum:
| ID | Grade |
|---|---|
| 1 | Trainee coach |
| 2 | Assistant coach |
| 3 | Junior coach |
| 4 | Senior coach |
| 5 | Head coach |
Each trainer (user with UserType_ID=3) has a TrainerPayGrade_ID set on their user profile.
Pay Grade Fees¶
Fees are configured per Season × Pay Grade × Attendance Type in the TrainerPayGradeFee table.
A unique constraint on (Season_ID, TrainerPayGrade_ID, AttendanceType_ID) prevents duplicate entries. The demo environment contains 15 fee rows.
Fee columns:
| Column | Description |
|---|---|
FeeAmount |
Amount charged to the customer |
FeeAmountClubMember |
Amount charged to club members |
SalaryAmount |
Amount paid to the trainer |
SalaryAmountAcquirer |
Amount paid to the acquirer trainer |
Attendance Types¶
Three attendance types drive fee calculation:
| ID | Type |
|---|---|
| 1 | Private |
| 2 | Semi-private |
| 3 | Group |
Trainer Assignment¶
Reservations reference trainers through the Trainer_ID column (nullable FK to User). Recurring reservations use DefaultTrainer_ID for automatic assignment.
Allocation View¶
Navigate to Foglalások → Edző hozzárendelés (/Club/Reservation/ReservationList/3). This view lists reservations where TrainerRequired=1 but no Trainer_ID is assigned. An unread-style badge in the sidebar header shows the count of unassigned reservations.
Tip
Use the allocation view daily to ensure no trainer-required reservations are left unassigned.
Acquirer Trainer¶
User.AcquirerTrainer_ID links a customer to the trainer who originally acquired them. When that customer books a session, the acquirer trainer receives the SalaryAmountAcquirer fee.
Customer Trainer Requests¶
The system parameter CustomerTrainerRequestEnabled=YES allows customers to request a specific trainer during the booking flow.
Note
When enabled, customers see a trainer selection dropdown on the reservation form.
Salary Report¶
Navigate to Riportok → Edzői fizetések (/Club/Report/TrainerSalaries) to view calculated trainer salaries based on completed reservations, pay grades, and attendance types.