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

View file

@ -197,6 +197,7 @@ setupForm("#pedido", async () => {
UnitPrice: precio.Price,
Quantity: 1,
ProductCode: producto.SKUCode,
SKUCode: producto.SKUCode,
})),
Customer: {
CustomerID: 1,

View file

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