fix: Atrasados lists production stages and real orders only (front 11)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 4m27s
Build and deploy / Publish images (push) Successful in 1m6s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 4m27s
Build and deploy / Publish images (push) Successful in 1m6s
A delivery is done when it leaves and a test card is not production. Only pickup orders waiting in Finalizado can be late, and the top strip now shows working columns; the finished pickup keeps its card colour and its place in Números.
This commit is contained in:
@@ -22,7 +22,9 @@ def run():
|
||||
owner = uuid4()
|
||||
with db.connect() as c:
|
||||
quote, order = order_fixture(c, owner, 'file')
|
||||
c.execute("UPDATE dtf_local.orders SET created_at=now()-interval '3 hours' WHERE id=%s", (order,))
|
||||
c.execute("""UPDATE dtf_local.orders SET created_at=now()-interval '3 hours',
|
||||
payment=%s WHERE id=%s""",
|
||||
(Jsonb({'provider': 'mercadopago', 'id': str(order)}), order))
|
||||
try:
|
||||
board = client.call('/operator/board', operator=True)
|
||||
mine = next(o for o in board['orders'] if o['id'] == str(order))
|
||||
|
||||
Reference in New Issue
Block a user