Commit 72493f72 authored by Dirk Doesburg's avatar Dirk Doesburg

Added conditions for deregistration disclaimer

parent 6fa6955b
......@@ -250,7 +250,12 @@ registration and pay the full costs of €{{ fine }}? You will not be able to un
text = t('Registration is not allowed anymore, as you cancelled your registration after the deadline.');
}
if (afterCancelDeadline && !isLateCancellation) {
if (data.user_registration
&& !data.user_registration.is_cancelled
&& registrationRequired
&& registrationStarted
&& afterCancelDeadline
&& !isLateCancellation) {
if (text.length > 0) {
text += ' ';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment