allow ecomm user to close the order.
Order should give visual feedback, and update the database.
So. what exactly should update?
Right now the view is being filtered at parent level of order object. ( order.status )
The complication is that a single order can create 2 requests, and each request appears as a row in the view. So does each row need a button to update order.orderedItems.X.status? and then should the view only display.. what exactly? Orders that are noArchived: false or display based upon if order.orderedItems.X.status: "not complete"?
allow ecomm user to close the order. Order should give visual feedback, and update the database.
So. what exactly should update? Right now the view is being filtered at parent level of order object. ( order.status )
The complication is that a single order can create 2 requests, and each request appears as a row in the view. So does each row need a button to update order.orderedItems.X.status? and then should the view only display.. what exactly? Orders that are noArchived: false or display based upon if order.orderedItems.X.status: "not complete"?