mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix bug in invoice rendering
This commit is contained in:
@@ -387,7 +387,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
|
|||||||
pgettext('invoice', 'Net value'), pgettext('invoice', 'Gross value'), pgettext('invoice', 'Tax'))]
|
pgettext('invoice', 'Net value'), pgettext('invoice', 'Gross value'), pgettext('invoice', 'Tax'))]
|
||||||
|
|
||||||
for rate, gross in grossvalue_map.items():
|
for rate, gross in grossvalue_map.items():
|
||||||
if line.tax_rate == 0:
|
if rate == 0:
|
||||||
continue
|
continue
|
||||||
tax = taxvalue_map[rate]
|
tax = taxvalue_map[rate]
|
||||||
tdata.append((
|
tdata.append((
|
||||||
|
|||||||
Reference in New Issue
Block a user