Fix missing fees in order overview

This commit is contained in:
Raphael Michel
2020-02-19 16:09:40 +01:00
parent 4511110069
commit 2e5b80c83c
2 changed files with 3 additions and 0 deletions

View File

@@ -1727,10 +1727,12 @@ class OverView(EventPermissionRequiredMixin, TemplateView):
date_filter=self.filter_form.cleaned_data['date_axis'],
date_from=self.filter_form.cleaned_data['date_from'],
date_until=self.filter_form.cleaned_data['date_until'],
fees=True
)
else:
ctx['items_by_category'], ctx['total'] = order_overview(
self.request.event,
fees=True
)
ctx['subevent_warning'] = (
self.request.event.has_subevents and

View File

@@ -238,6 +238,7 @@ class OverviewReport(Report):
date_filter=form_data.get('date_axis'),
date_from=form_data.get('date_from'),
date_until=form_data.get('date_until'),
fees=True
)
places = settings.CURRENCY_PLACES.get(self.event.currency, 2)
states = (