area1707 / grace-shopper

3 stars 0 forks source link

Admin - OrderMgmt - Change orderStatus #33

Open rkaur01 opened 7 years ago

rkaur01 commented 7 years ago

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.