Docs: Add algorithm diagrams for checkin

This commit is contained in:
Raphael Michel
2021-08-27 12:29:21 +02:00
parent b200ca5ad5
commit 08acecf37b
12 changed files with 355 additions and 1 deletions

View File

@@ -597,6 +597,11 @@ def perform_checkin(op: OrderPosition, clist: CheckinList, given_answers: dict,
:param nonce: A random nonce to prevent race conditions.
:param datetime: The datetime of the checkin, defaults to now.
"""
# !!!!!!!!!
# Update doc/images/checkin_online.puml if you make substantial changes here!
# !!!!!!!!!
dt = datetime or now()
if op.canceled or op.order.status not in (Order.STATUS_PAID, Order.STATUS_PENDING):