mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
PDF: Fix incorrect type of position id
This commit is contained in:
@@ -56,7 +56,7 @@ DEFAULT_VARIABLES = OrderedDict((
|
||||
("positionid", {
|
||||
"label": _("Order position number"),
|
||||
"editor_sample": "1",
|
||||
"evaluate": lambda orderposition, order, event: orderposition.positionid
|
||||
"evaluate": lambda orderposition, order, event: str(orderposition.positionid)
|
||||
}),
|
||||
("item", {
|
||||
"label": _("Product name"),
|
||||
|
||||
Reference in New Issue
Block a user