Skip to content

Commit

Permalink
Invoice display
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Mar 20, 2017
1 parent 7d3c878 commit f5c2092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pretix/base/services/invoices.py
Expand Up @@ -72,6 +72,8 @@ def build_invoice(invoice: Invoice) -> Invoice:
desc = str(p.item.name)
if p.variation:
desc += " - " + str(p.variation.value)
if p.addon_to_id:
desc = " + " + desc
InvoiceLine.objects.create(
invoice=invoice, description=desc,
gross_value=p.price, tax_value=p.tax_value,
Expand Down

0 comments on commit f5c2092

Please sign in to comment.