Cannot cancel a registration

  • bfta
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago - 13 years 2 months ago #14260 by bfta
Cannot cancel a registration was created by bfta
Hi,

I have a test account, which is a Normal User called TEST. They book into an event. That's all fine.

I have a Super User account with the correct ID placed in Configuration > Users can manage registrants from front-end

Super User can see the Registrants Management menu front end. They can see the booking for TEST. The Cancel button is there, but it returns the error "invalid action".

The Super User can cancel his own booking from here, but not that of another user. It seems a permission problem?

TEST is also able to cancel their own booking as well from their Registration History. I have checked the cancel date for the event.

I would like a super user to be able to cancel another normal user's booking from Registrants Management. Is this possible?

Thanks :)
Last edit: 13 years 2 months ago by bfta.

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

More
13 years 2 months ago #14295 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Cannot cancel a registration
Hi

If Administrator want to cancel registration of a registration record, he can simply click on registration record, edit it, in the Payment Status field, simply set it to Cancelled .

Hope this help

Tuan

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

More
12 years 10 months ago #16498 by iT-novative
Replied by iT-novative on topic Re: Cannot cancel a registration
I was facing the same issue.
Appears to be "by design" however why did you include the button "cancel registration" in the management module for the registrants?

It is possible to remove this restriction and enable a manager to cancel registrations for all users by changing the following code in controller.php on line 466;

if ($user->get('id') == 0 || ($user->get('id') != $rowEvent->user_id)) {

to

if ($user->get('id') == 0) {

This solves the issue and works fine in my testing scenario's.
However I do not know if this has further consequences or why this wasn't enabled by default.

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

Moderators: Tuan Pham Ngoc