forked from CGM_Public/pretix_original
Allow to add order position number to PDFs
This commit is contained in:
@@ -53,6 +53,11 @@ DEFAULT_VARIABLES = OrderedDict((
|
|||||||
"editor_sample": "A1B2C",
|
"editor_sample": "A1B2C",
|
||||||
"evaluate": lambda orderposition, order, event: orderposition.order.code
|
"evaluate": lambda orderposition, order, event: orderposition.order.code
|
||||||
}),
|
}),
|
||||||
|
("positionid", {
|
||||||
|
"label": _("Order position number"),
|
||||||
|
"editor_sample": "1",
|
||||||
|
"evaluate": lambda orderposition, order, event: orderposition.positionid
|
||||||
|
}),
|
||||||
("item", {
|
("item", {
|
||||||
"label": _("Product name"),
|
"label": _("Product name"),
|
||||||
"editor_sample": _("Sample product"),
|
"editor_sample": _("Sample product"),
|
||||||
|
|||||||
Reference in New Issue
Block a user