$eventTitle = $dao->title;
$eventId = $dao->event_id;
}
- if (!$details['allow_selfcancelxfer']) {
+ if (!$details['allow_selfcancelxfer'] && !$isBackOffice) {
$details['eligible'] = FALSE;
$details['ineligible_message'] = ts('This event registration can not be transferred or cancelled. Contact the event organizer if you have questions.');
return $details;
'isBackOffice' => FALSE,
'successExpected' => FALSE,
];
+ // Update from back office even when self-service is disabled
+ $scenarios[] = [
+ 'selfSvcEnabled' => 0,
+ 'selfSvcHours' => 12,
+ 'hoursToEvent' => 16,
+ 'participantStatusId' => 1,
+ 'isBackOffice' => TRUE,
+ 'successExpected' => TRUE,
+ ];
return $scenarios;
}