def order():
    """associate `order_date`, remove items without active client order items and close the order.

    After the order has been closed, it can no longer be changed.
    This extends to client order items which are associated with this order.
    """
