Order overview: Try to make linked filters behave as expected for line-level cancellations (Z#23203500)

This commit is contained in:
Raphael Michel
2025-08-22 09:30:34 +02:00
committed by GitHub
parent ebac7d563c
commit fe9a7eaa24
4 changed files with 46 additions and 17 deletions

View File

@@ -2575,6 +2575,11 @@ class OverView(EventPermissionRequiredMixin, TemplateView):
self.request.event,
fees=True
)
ctx['subevent'] = (
self.request.event.has_subevents and
self.filter_form.is_valid() and
self.filter_form.cleaned_data.get('subevent')
)
ctx['subevent_warning'] = (
self.request.event.has_subevents and
self.filter_form.is_valid() and