This commit is contained in:
@@ -7,8 +7,6 @@ import {
|
|||||||
ApiTags,
|
ApiTags,
|
||||||
ApiOperation,
|
ApiOperation,
|
||||||
ApiCreatedResponse,
|
ApiCreatedResponse,
|
||||||
ApiOkResponse,
|
|
||||||
ApiNotFoundResponse,
|
|
||||||
ApiQuery,
|
ApiQuery,
|
||||||
ApiBody,
|
ApiBody,
|
||||||
ApiParam,
|
ApiParam,
|
||||||
|
|||||||
@@ -391,7 +391,8 @@ console.log(cart);
|
|||||||
if (
|
if (
|
||||||
from == OrderStatus.PENDING_PAYMENT &&
|
from == OrderStatus.PENDING_PAYMENT &&
|
||||||
to == OrderStatus.PREPARING &&
|
to == OrderStatus.PREPARING &&
|
||||||
paymentMethod !== PaymentMethodEnum.Cash
|
paymentMethod !== PaymentMethodEnum.Cash &&
|
||||||
|
paymentMethod !== PaymentMethodEnum.CreditCard
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user