From 069c599cffc5df4b93d6a616b441ace7af690e36 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 16 May 2023 10:24:54 +0200 Subject: [PATCH] Order list: Remove sums that cause lots of confusion (#3315) --- .../templates/pretixcontrol/orders/index.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/orders/index.html b/src/pretix/control/templates/pretixcontrol/orders/index.html index 661504e5b6..e8ea05e3d5 100644 --- a/src/pretix/control/templates/pretixcontrol/orders/index.html +++ b/src/pretix/control/templates/pretixcontrol/orders/index.html @@ -204,13 +204,21 @@ {% endblocktrans %} - {% if sums.s|default_if_none:"none" != "none" %} - {{ sums.s|money:request.event.currency }} + {% if not filter_form.filtered %} + + {% if sums.s|default_if_none:"none" != "none" %} + {{ sums.s|money:request.event.currency }} + {% endif %} {% endif %} - {% if sums.pc %} - {{ sums.pc }} + {% if not filter_form.filtered %} + + {% if sums.pc %} + {{ sums.pc }} + {% endif %} {% endif %}