Hacer que SKUCode en pedidos sea obligatorio #2
2 changed files with 2 additions and 1 deletions
|
@ -197,6 +197,7 @@ setupForm("#pedido", async () => {
|
|||
UnitPrice: precio.Price,
|
||||
Quantity: 1,
|
||||
ProductCode: producto.SKUCode,
|
||||
SKUCode: producto.SKUCode,
|
||||
})),
|
||||
Customer: {
|
||||
CustomerID: 1,
|
||||
|
|
2
order.ts
2
order.ts
|
@ -59,7 +59,7 @@ export interface CustomerDto {
|
|||
}
|
||||
export interface OrderItemDto {
|
||||
ProductCode: string;
|
||||
SKUCode?: null | string;
|
||||
SKUCode: string;
|
||||
VariantCode?: null | string;
|
||||
Description: string;
|
||||
VariantDescription?: null | string;
|
||||
|
|
Loading…
Reference in a new issue