From 0a9890b1b0fe3f2b779cdde03aa33152fd04dda9 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 14 Jun 2023 11:52:25 +0200 Subject: [PATCH] Transaction list export: Add count * price column --- src/pretix/base/exporters/orderlist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pretix/base/exporters/orderlist.py b/src/pretix/base/exporters/orderlist.py index 235bf06a59..454c5a47bc 100644 --- a/src/pretix/base/exporters/orderlist.py +++ b/src/pretix/base/exporters/orderlist.py @@ -850,6 +850,8 @@ class TransactionListExporter(ListExporter): _('Tax rule ID'), _('Tax rule'), _('Tax value'), + _('Gross total'), + _('Tax total'), ] if form_data.get('_format') == 'xlsx': @@ -901,6 +903,8 @@ class TransactionListExporter(ListExporter): t.tax_rule_id or '', str(t.tax_rule.internal_name or t.tax_rule.name) if t.tax_rule_id else '', t.tax_value, + t.price * t.count, + t.tax_value * t.count, ] if form_data.get('_format') == 'xlsx':