- preordinabili corretti + altro
This commit is contained in:
@@ -377,8 +377,8 @@ router.post('/:userId/ordercartstatus', authenticate, async function (req, res,
|
||||
|
||||
if (status === shared_consts.OrderStatus.ORDER_CONFIRMED) {
|
||||
ordertype = 'order_confirmed';
|
||||
} else if (status === shared_consts.OrderStatus.COMPLETED) {
|
||||
ordertype = 'order_completed';
|
||||
} else if (status === shared_consts.OrderStatus.DELIVERED) {
|
||||
ordertype = 'order_consegnato';
|
||||
} else if (status === shared_consts.OrderStatus.CANCELED) {
|
||||
ordertype = 'order_canceled';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user