forked from CGM_Public/pretix_original
Fix missing fees in order overview
This commit is contained in:
@@ -1727,10 +1727,12 @@ class OverView(EventPermissionRequiredMixin, TemplateView):
|
|||||||
date_filter=self.filter_form.cleaned_data['date_axis'],
|
date_filter=self.filter_form.cleaned_data['date_axis'],
|
||||||
date_from=self.filter_form.cleaned_data['date_from'],
|
date_from=self.filter_form.cleaned_data['date_from'],
|
||||||
date_until=self.filter_form.cleaned_data['date_until'],
|
date_until=self.filter_form.cleaned_data['date_until'],
|
||||||
|
fees=True
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
ctx['items_by_category'], ctx['total'] = order_overview(
|
ctx['items_by_category'], ctx['total'] = order_overview(
|
||||||
self.request.event,
|
self.request.event,
|
||||||
|
fees=True
|
||||||
)
|
)
|
||||||
ctx['subevent_warning'] = (
|
ctx['subevent_warning'] = (
|
||||||
self.request.event.has_subevents and
|
self.request.event.has_subevents and
|
||||||
|
|||||||
@@ -238,6 +238,7 @@ class OverviewReport(Report):
|
|||||||
date_filter=form_data.get('date_axis'),
|
date_filter=form_data.get('date_axis'),
|
||||||
date_from=form_data.get('date_from'),
|
date_from=form_data.get('date_from'),
|
||||||
date_until=form_data.get('date_until'),
|
date_until=form_data.get('date_until'),
|
||||||
|
fees=True
|
||||||
)
|
)
|
||||||
places = settings.CURRENCY_PLACES.get(self.event.currency, 2)
|
places = settings.CURRENCY_PLACES.get(self.event.currency, 2)
|
||||||
states = (
|
states = (
|
||||||
|
|||||||
Reference in New Issue
Block a user