From 63b7d714e0c798ab58723c5de01ad7be0b02cf82 Mon Sep 17 00:00:00 2001 From: Unicorn-rzl Date: Fri, 10 Jul 2015 21:51:04 +0200 Subject: [PATCH] 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 ;) --- src/pretix/control/views/orders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py index adc06de022..17ba7d6f96 100644 --- a/src/pretix/control/views/orders.py +++ b/src/pretix/control/views/orders.py @@ -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