With this customisation, cancelling a session from the customer portal will
- issue a max of 1 credit for a class that has 4 sessions .
- It will issue a max of 2 lesson credits for a class that has 8 or more sessions.
SITE PROPERTIES:
customer.module.class.session.cancellation.enabled=true other site properties if required: customer.module.RegistrationControllerV1.redeem.lesson.credit.enabled=true CUSTOMER PROPERTIES: CLASS_SESSION_SELF_CANCELLATION_GENERATE_LESSON_CREDIT_ENABLED true CUSTOM_SESSION_SELF_CANCEL_LESSON_CREDIT_GENERATION true CLASS_STUDENT_HANDLER com.markjenny.tms.service.squad.customisation.TennisOnTheLakeClassStudentHandler Other customer properties if required: CLASS_SESSION_SELF_CANCELLATION_NOTIFICATION_EMAIL_TO [email protected] CLASS_SESSION_SELF_CANCELLATION_LESSON_CREDIT_CUTOFF_HOURS 8