Hacer que SKUCode en pedidos sea obligatorio #2

Open
Nulo wants to merge 1 commit from arreglar-pedidos into antifascista
2 changed files with 2 additions and 1 deletions
Showing only changes of commit fd8c81f21d - Show all commits

View file

@ -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,

View file

@ -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;