Compare commits
2 Commits
7c369a2829
...
141e6fd800
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
141e6fd800 | ||
|
|
936d9d2673 |
@@ -1455,7 +1455,7 @@ export class SalesService {
|
|||||||
await this.updatePriorityDelivery(dataDeliveryTax.cartId, dataDeliveryTax.priorityDelivery);
|
await this.updatePriorityDelivery(dataDeliveryTax.cartId, dataDeliveryTax.priorityDelivery);
|
||||||
|
|
||||||
if (cityId == 0) {
|
if (cityId == 0) {
|
||||||
cityId = Number.parseInt(dataDeliveryTax.ibgeCode);
|
cityId = Number.parseInt(dataDeliveryTax.ibgeCode ?? dataDeliveryTax.cityId);
|
||||||
// throw new HttpException('Cidade não localiza para cálculo da taxa de entrega', HttpStatus.BAD_REQUEST);
|
// throw new HttpException('Cidade não localiza para cálculo da taxa de entrega', HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
const connectionDb = new Connection(connectionOptions);
|
const connectionDb = new Connection(connectionOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user