mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Invoice Preview: Pass tax.name to InvoiceLine
This commit is contained in:
@@ -488,7 +488,7 @@ def build_preview_invoice_pdf(event):
|
|||||||
InvoiceLine.objects.create(
|
InvoiceLine.objects.create(
|
||||||
invoice=invoice, description=_("Sample product {}").format(i + 1),
|
invoice=invoice, description=_("Sample product {}").format(i + 1),
|
||||||
gross_value=tax.gross, tax_value=tax.tax,
|
gross_value=tax.gross, tax_value=tax.tax,
|
||||||
tax_rate=tax.rate
|
tax_rate=tax.rate, tax_name=tax.name
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
|
|||||||
Reference in New Issue
Block a user