Introduction
This article will show you how to automatically prevent members from booking another Class in case they have already missed a number of Classes. This option will prevent every club member from being able to book classes in case they meet the conditions set up in the system.
In this article, you will find an example of how to use this option in practice.
At the end of this article in the section titled "Task management", there are instructions that will need to be completed by a member of the PG Tech Support Team - please open a case in Get Support, with a reference to this article to request for this background process to be turned on in your system.
- This article will be helpful to PG Champion, Club Manager, Sales Manager, Administrator, Club Owner and PG Technical Support.
System settings
Go to the PGM->Settings->System Settings.
On the left menu bar, Click on the Bookings then Class booking limits tab. Scroll down.
Scroll to you see Block member when missed classes.
Block Limit - Enter the number of classes missed which will activate the blockade. For example if the member has enrolled into two classes and is not present in the class.
If member is on standby listing, this is not counted.
Days to block - Enter the number of days during which the blockade will be active.
This will prevent the club member from enrolling/booking into any class for 7 days.
Days to lookup - enter the number of days the system will check back in search for missed classes.
Is Booking During Cancel Should Be Removed - If this option is ticked. Any classes which are already enrolled/booked where they fall in the days set in Days to block will be cancelled.
Blocks for payment plans starts with - This will only apply to blocks to memberships with a name starting with the value entered here. If left blank this will apply to all memberships.
Disabled for courses - determines whether course classes are excluded in the blocking limit or not.
This setting is available from R.92 system version onwards.
How to add or remove the Class booking blockade for a single member?
If the club member already has a class blocking on their profile, they will not be included in the automatic task to block the member from booking a class.
Go to PGM->Clients->Club members
Choose the member from the list and open their Profile.
Click on the three dots icon on the main page of the Member Profile.
A pop-up window will be displayed. Select the end date of the blockade and click on the Block class booking.
Block until - Select end date of the block. Block will remain up to and including the date.
Block user for undefined period of time - Alternatively you can set block without specified end date (This feature is available for release 87 and newer).
Cancel user's bookings during block - Tick this to cancel user's bookings during the block
Example
The example below will help you to understand how this setting works. You can adjust it in accordance with your business needs.
Assumption
A member didn't show up to 3 classes that were booked in last 14 days. Now, you want to block booking any class for this member for the next 7 days.
How to do it?
1. Go to the PGM -> Settings -> System settings.
2. Click on the Bookings tab.
3. In the Event block section, enter the numbers according to your preferences and club policy:
- Block Limit - enter 3
- Days To Block - enter 7
- Days To Lookup - enter 14
Penalty fee (R87)
In blocking process a penalty fee can be charged on a member which have to be settled in order to be automatically unblocked.
Caution
Blocking a user with penalty fee can't be combined with standalone penalty product feature.
Ensure standalone penalty product feature is disabled:
- Go to the PGM -> Settings -> Task management
- Search for a task named TimeTableRecurring.EventPenaltyTask and edit it
- Make sure Is enabled in JobServer is unchecked
Configuration
- Follow this article to create and set up a penalty fee product
- Go to the PGM -> Settings -> System settings.
- Click on the Bookings tab.
- In the Event Block section check Charge penalty fee for absences
Additional configuration
You can specify whether penalty fee should be charged as user transaction or a product:
- Go to the PGM -> Settings -> System settings.
- Click on the Bookings tab.
- In the Event Penalty section perform an action on Use user transaction for penalty checkbox
- check to charge penalties as user transactions
- uncheck to charge penalties as products
Task management
This part of the configuration needs to be completed by the PG Technical Support Team - please open a case in Get Support to request these tasks to be activated.
Blocking task
Go to PGM->Settings->Task Management
In task name, search for the task name - TimeTableRecurring.EventBlockTask.
Press the three dots to the right of the task and press Edit.
Cron expression - Enter in the value 01 01 * * * This will run the task at 01:01 AM every day.
Is enabled in job server - Tick this to enable the job, this will run based on the cron expression above.
Unblocking task
Follow the same steps as for Blocking task but this time search for a task named TimeTableRecurring.UnblockUserBookingPossibilityTask.
It have to be executed every day after the Blocking task so it is highly recommended to set Unblocking task's execution time at least 15 minutes later.
Hints
The task to block members who missed classes will run daily. Say it runs at night (or early next day) it will put a block on them if they meet the conditions that require the blocking of classes.