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,
|
UnitPrice: precio.Price,
|
||||||
Quantity: 1,
|
Quantity: 1,
|
||||||
ProductCode: producto.SKUCode,
|
ProductCode: producto.SKUCode,
|
||||||
|
SKUCode: producto.SKUCode,
|
||||||
})),
|
})),
|
||||||
Customer: {
|
Customer: {
|
||||||
CustomerID: 1,
|
CustomerID: 1,
|
||||||
|
|
2
order.ts
2
order.ts
|
@ -59,7 +59,7 @@ export interface CustomerDto {
|
||||||
}
|
}
|
||||||
export interface OrderItemDto {
|
export interface OrderItemDto {
|
||||||
ProductCode: string;
|
ProductCode: string;
|
||||||
SKUCode?: null | string;
|
SKUCode: string;
|
||||||
VariantCode?: null | string;
|
VariantCode?: null | string;
|
||||||
Description: string;
|
Description: string;
|
||||||
VariantDescription?: null | string;
|
VariantDescription?: null | string;
|
||||||
|
|
Loading…
Reference in a new issue