Introduction
This article will describe in detail how the setting 'Time to book in advance' works within the class module.
This setting controls how far in advance the club member or guest can book into a class using client portal.
Before you start
It is recommended to read through these instructions before adding values to any of these settings.
Each section has its own rules and specifications. Please be careful with how you set up each section as it may affect other sections.
The below settings are located in the following areas. This is the order of how the system checks how far the member can book in advance:
- Individual classes - PGM->Classes->Timetable
- Class Types - PGM->Classes->Class Types
- Payment Plan (via Custom Attributes) - PGM->Sale->Payment Plans and PGM->Settings->Custom Attributes
- System Settings - PGM->Settings->System Settings
Individual classes
Within the timetable, individual classes can be set up for club members and guests to book in advance.
To do this, go to PGM->Classes->Timetable and select an individual class on the timetable.
Press Edit Class on the class.
In the field Custom time to book in advance (minutes), enter in minutes the maximum time you will allow a club member or guest to book in advance for the individual class.
To see a list of minutes and hour comparisons, see the hints area at the end of this article.
Press Save to continue.
Class Types
Within the class types, all classes of this class type can be set up for club members and guests to book in advance.
If an individual class has a value set in Custom time to book in advance (minutes) the booking will use that value when doing checks for how far in advance a member can book that class.
To do this, go to PGM->Classes->Class Type, search for the class type then press the three dots and press edit.
In the field Custom max time to book in advance (minutes), enter in minutes the maximum time you will allow a club member or guest to book in advance for the individual class.
To see a list of minutes and hour comparisons, see the hints area at the end of the article.
Payment Plan
If a payment plan is used to override settings, this will override any system settings, except if there is a value set in the individual classes or class types as this will override the value set in the payment plan.
For more information on how this is set up, please look at the following article here.
System Settings
The settings to control how far a member or guest can book in advance are found in PGM->Settings->System Settings.
If a value is set on the individual class, class type, or payment plan, this will override any values set here.
To find the settings you need to configure for how far a member or guest can book in advance, go to Bookings->Class Booking (or ClientPortal -> Bookings for ClientPortal configuration) on the category to the left. Then find the two settings:
- Max hours to book in advance (Members)
- Max hours to book in advance (Guest)
Max hours to book in advance (Members)
This setting controls how far a club member who has a contract (regardless of status) can book in advance on the client portal.
A member will have the following tag on their user profile.
Max hours to book in advance (Guest)
This setting controls how far a guest can book in advance on the client portal.
A guest who does not have any contract on their profile will have the following tag on their user profile.
Hints
Listed below is a comparison list of minutes/hours/days for the settings above.
| Minutes | Hours | Days |
|---|---|---|
| 60 | 1 | - |
| 120 | 2 | - |
| 240 | 4 | - |
| 360 | 6 | - |
| 720 | 12 | - |
| 1440 | 24 | 1 |
| 2160 | 36 | - |
| 2880 | 48 | 2 |
| 4320 | 72 | 3 |
| 5760 | 96 | 4 |
| 7200 | 120 | 5 |
| 8640 | 144 | 6 |
| 10080 | 168 | 7 |
| 11520 | 192 | 8 |
| 12960 | 216 | 9 |
| 14400 | 240 | 10 |
| 15840 | 264 | 11 |
| 17280 | 288 | 12 |
| 18720 | 312 | 13 |
| 20160 | 336 | 14 |