Story: change the status of the order (Created -> Processing, Processing -> Cancelled || Completed), so that others will know what stage of the process the order is in
Implementation: a form that will be connected to an Express route on the backend (PUT 'api/admin/orders/orderId') should update orderStatus. Special access control is needed, only the admin should be able to do this.
Story: change the status of the order (Created -> Processing, Processing -> Cancelled || Completed), so that others will know what stage of the process the order is in
Implementation: a form that will be connected to an Express route on the backend (PUT 'api/admin/orders/orderId') should update orderStatus. Special access control is needed, only the admin should be able to do this.