From c70301572c926e6c47dcf584b5b33a67471ffb79 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 10 Jul 2017 14:43:37 +0200 Subject: [PATCH] Fix bug in invoice rendering --- src/pretix/base/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/invoice.py b/src/pretix/base/invoice.py index 004287c90b..09f5643d1c 100644 --- a/src/pretix/base/invoice.py +++ b/src/pretix/base/invoice.py @@ -387,7 +387,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer): pgettext('invoice', 'Net value'), pgettext('invoice', 'Gross value'), pgettext('invoice', 'Tax'))] for rate, gross in grossvalue_map.items(): - if line.tax_rate == 0: + if rate == 0: continue tax = taxvalue_map[rate] tdata.append((