Apply 24 hour cancellation rule

  • alryalls
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 5 months ago #18820 by alryalls
Apply 24 hour cancellation rule was created by alryalls
Hi

Is it possible to add a 24 hour cancellation rule?

Can the code be modified to do this?

If yes, where?

Thanks

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 5 months ago #18838 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Apply 24 hour cancellation rule
Hi

Right now, the extension use date for cancellation rule, not hours, so basically, it is not possible. If you want to customize it, here are some clues :

1. You will need to customize code in the file administrator/components/com_eventbooking/views/event/tmpl/default.php to allow administrator to enter the hours which allow users to cancel registration.

2. You will need to customize function canCancelRegistration in the file components/com_eventbooking/helper/helper.php to check to see whether the current logged in users can cancel the registration.

You must have a strong programming skill to do this customization .

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc