fix error on all interfaces
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import {productDeliveryInfo} from "./product-delivery.interface";
|
import {productDeliveryInfo} from "./product-delivery.interface";
|
||||||
|
import {DelivererInfo} from "./deliverer.interface";
|
||||||
|
|
||||||
export interface DeliveryNoteInfo {
|
export interface DeliveryNoteInfo {
|
||||||
trackingNumber: string;
|
trackingNumber: string;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {ProductInfo} from "./product.interface";
|
import {ProductInfo} from "./product.interface";
|
||||||
|
|
||||||
export interface productDeliveryInfo {
|
export interface productDeliveryInfo {
|
||||||
product: ProductInfo[];
|
product: ProductInfo;
|
||||||
quantity: number;
|
quantity: number;
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
|
import {ProductInfo} from "./product.interface";
|
||||||
|
|
||||||
export interface ProductOrderInfo {
|
export interface ProductOrderInfo {
|
||||||
product: string;
|
product: ProductInfo;
|
||||||
quantity: number;
|
quantity: number;
|
||||||
price: number;
|
price: number;
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
export interface ProductInfo {
|
export interface ProductInfo {
|
||||||
reference: string;
|
reference: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
supplier: number[];
|
||||||
duration: number;
|
duration: number;
|
||||||
caliber: string;
|
caliber: string;
|
||||||
approvalNumber: string;
|
approvalNumber: string;
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ import {SupplierInfo} from "./supplier.interface";
|
|||||||
export interface PurchaseOrderInfo {
|
export interface PurchaseOrderInfo {
|
||||||
purchaseCondition: string;
|
purchaseCondition: string;
|
||||||
productOrder: ProductOrderInfo[];
|
productOrder: ProductOrderInfo[];
|
||||||
supplier: SupplierInfo[]
|
supplier: SupplierInfo;
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,5 @@ export interface QuotationInfo {
|
|||||||
saleCondition: string;
|
saleCondition: string;
|
||||||
message: string;
|
message: string;
|
||||||
productOrder: ProductOrderInfo[];
|
productOrder: ProductOrderInfo[];
|
||||||
supplier: SupplierInfo[]
|
supplier: SupplierInfo;
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
|
import {ProductInfo} from "./product.interface";
|
||||||
|
|
||||||
export interface StockInfo {
|
export interface StockInfo {
|
||||||
name: string;
|
product: ProductInfo;
|
||||||
nec: string;
|
|
||||||
caliber: string;
|
|
||||||
weight: number;
|
|
||||||
duration: string;
|
|
||||||
quantity: number;
|
quantity: number;
|
||||||
minimalQuantity: number;
|
|
||||||
}
|
}
|
||||||
@@ -8,5 +8,5 @@ export interface SupplierInfo {
|
|||||||
zipCode: string;
|
zipCode: string;
|
||||||
city: string;
|
city: string;
|
||||||
deliveryDelay: number;
|
deliveryDelay: number;
|
||||||
product: ProductInfo[];
|
products: ProductInfo[];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user