Add "attention" flag to products

This commit is contained in:
Raphael Michel
2017-08-25 15:14:54 +02:00
parent f98f25fb6b
commit fd35b5ea72
9 changed files with 69 additions and 6 deletions

View File

@@ -178,6 +178,7 @@ def serialize_op(op):
'variation': str(op.variation) if op.variation else None,
'variation_id': op.variation_id,
'attendee_name': name,
'attention': op.item.checkin_attention,
'redeemed': bool(op.checkin_cnt),
'paid': op.order.status == Order.STATUS_PAID,
}