Skip to content
Extraits de code Groupes Projets
Valider e259df85 rédigé par MarouaneSaoud's avatar MarouaneSaoud
Parcourir les fichiers

add order item type in save order from bo

parent 0d2a8d0e
Branches
1 requête de fusion!454MS-18 : add order item type in save order from bo
Pipeline #11944 réussi avec l'étape
in 7 minutes et 53 secondes
......@@ -184,6 +184,7 @@ export default function ProductNewEditForm() {
quantity: entry.quantity!,
unitPrice: entry.product!.price!,
productName: entry.product!.productName,
type:entry.product!.type,
}));
if (productCommandQts.length === 0) {
......
......@@ -2,6 +2,7 @@
import { NoteType } from "@/contexts/types/main-order";
import { IAddressItem } from "./user";
import { ProductType } from "./product";
export type IOrderTableFilterValue = string | Date | null;
......@@ -39,6 +40,7 @@ export interface ProductToCreateCommandBo {
quantity: number;
unitPrice: number;
productName:string;
type:ProductType;
}
export enum OrderStatus {
FAILED = "FAILED",
......
......@@ -227,6 +227,7 @@ export type ProductWithCustomResponse = {
productName: string;
ugs:string;
price: number;
type:ProductType,
outOfStock: boolean;
};
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter