mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Show the correct number of paid items
In the order overview the total of "paid orders" is the same as the total number of "ordered items". By using the right variable, we can easily fix that ;)
This commit is contained in:
@@ -292,7 +292,7 @@ class OverView(EventPermissionRequiredMixin, TemplateView):
|
||||
'num_pending': sum(c.num_pending for c, i in ctx['items_by_category']),
|
||||
'num_cancelled': sum(c.num_cancelled for c, i in ctx['items_by_category']),
|
||||
'num_refunded': sum(c.num_refunded for c, i in ctx['items_by_category']),
|
||||
'num_paid': sum(c.num_total for c, i in ctx['items_by_category'])
|
||||
'num_paid': sum(c.num_paid for c, i in ctx['items_by_category'])
|
||||
}
|
||||
|
||||
return ctx
|
||||
|
||||
Reference in New Issue
Block a user