mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Partially revert de597ba86
This commit is contained in:
@@ -529,10 +529,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
|
|||||||
for line in self.invoice.lines.all():
|
for line in self.invoice.lines.all():
|
||||||
if has_taxes:
|
if has_taxes:
|
||||||
tdata.append((
|
tdata.append((
|
||||||
Paragraph(
|
Paragraph(line.description, self.stylesheet['Normal']),
|
||||||
bleach.clean(line.description, tags=[]).strip().replace('\n', '<br />\n'),
|
|
||||||
self.stylesheet['Normal']
|
|
||||||
),
|
|
||||||
"1",
|
"1",
|
||||||
localize(line.tax_rate) + " %",
|
localize(line.tax_rate) + " %",
|
||||||
money_filter(line.net_value, self.invoice.event.currency),
|
money_filter(line.net_value, self.invoice.event.currency),
|
||||||
@@ -540,10 +537,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
|
|||||||
))
|
))
|
||||||
else:
|
else:
|
||||||
tdata.append((
|
tdata.append((
|
||||||
Paragraph(
|
Paragraph(line.description, self.stylesheet['Normal']),
|
||||||
bleach.clean(line.description, tags=[]).strip().replace('\n', '<br />\n'),
|
|
||||||
self.stylesheet['Normal']
|
|
||||||
),
|
|
||||||
"1",
|
"1",
|
||||||
money_filter(line.gross_value, self.invoice.event.currency),
|
money_filter(line.gross_value, self.invoice.event.currency),
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user