This is an explanation of when things show up where (Pending/Past) in the app by the way the order was created.
Order status behavior for all orders regardless of deadline, time window, etc:
- Ordered - Order is in Pending and can be edited
- Pending Pick-Up - Order is Pending but can't be edited
- Complete - Order is in Past orders as soon as it's in Complete status
For orders with No Deadline
- Follow above logic when order receiver is adjusting order statuses
- Order is in pending and can be edited until the end of the day
For orders with Order Deadline
- Before deadline - Order is in Pending and can be edited
- After deadline - Order is in Pending but can't be edited. The order remains in Pending until the end of the day of the order.