added all interfaces necessary from project
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<th>Durée</th>
|
<th>Durée</th>
|
||||||
<th>Quantité</th>
|
<th>Quantité</th>
|
||||||
<th>Limite</th>
|
<th>Limite</th>
|
||||||
<th>Action</th>
|
<th style="text-align: center;">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<td>{{data.quantity}}</td>
|
<td>{{data.quantity}}</td>
|
||||||
<td>{{data.minimalQuantity}}</td>
|
<td>{{data.minimalQuantity}}</td>
|
||||||
<td>
|
<td>
|
||||||
<div style="display: flex; gap: 10px;">
|
<div style="justify-content: center; display: flex">
|
||||||
<app-modal-nav nameIcon="edit" name="Modification de la quantité minimale" class="cursor-pointer">
|
<app-modal-nav nameIcon="edit" name="Modification de la quantité minimale" class="cursor-pointer">
|
||||||
<app-stock-form></app-stock-form>
|
<app-stock-form></app-stock-form>
|
||||||
</app-modal-nav>
|
</app-modal-nav>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<th>Nom</th>
|
<th>Nom</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
<th>Fonction</th>
|
<th>Fonction</th>
|
||||||
<th>Action</th>
|
<th style="text-align: center;">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<td>{{data.email}}</td>
|
<td>{{data.email}}</td>
|
||||||
<td>{{data.fonction}}</td>
|
<td>{{data.fonction}}</td>
|
||||||
<td>
|
<td>
|
||||||
<div style="display: flex; gap: 10px;">
|
<div style="justify-content: center; display: flex">
|
||||||
<app-modal-nav nameIcon="edit" name="Modification de l'utilisateur" class="cursor-pointer">
|
<app-modal-nav nameIcon="edit" name="Modification de l'utilisateur" class="cursor-pointer">
|
||||||
<app-profil-form></app-profil-form>
|
<app-profil-form></app-profil-form>
|
||||||
</app-modal-nav>
|
</app-modal-nav>
|
||||||
|
|||||||
6
src/app/interfaces/deliverer.interface.ts
Normal file
6
src/app/interfaces/deliverer.interface.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import {DeliveryNoteInfo} from "./delivery-note.interface";
|
||||||
|
|
||||||
|
export interface DelivererInfo {
|
||||||
|
transporter: string;
|
||||||
|
deliveryNote: DeliveryNoteInfo[];
|
||||||
|
}
|
||||||
10
src/app/interfaces/delivery-note.interface.ts
Normal file
10
src/app/interfaces/delivery-note.interface.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import {productDeliveryInfo} from "./product-delivery.interface";
|
||||||
|
|
||||||
|
export interface DeliveryNoteInfo {
|
||||||
|
trackingNumber: string;
|
||||||
|
deliverer: string;
|
||||||
|
estimateDeliveryDate: Date;
|
||||||
|
expeditionDate: Date;
|
||||||
|
realDeliveryDate: Date;
|
||||||
|
productDelivery: productDeliveryInfo[];
|
||||||
|
}
|
||||||
6
src/app/interfaces/product-delivery.interface.ts
Normal file
6
src/app/interfaces/product-delivery.interface.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import {ProductInfo} from "./product.interface";
|
||||||
|
|
||||||
|
export interface productDeliveryInfo {
|
||||||
|
product: ProductInfo[];
|
||||||
|
quantity: number;
|
||||||
|
}
|
||||||
5
src/app/interfaces/product-order.interface.ts
Normal file
5
src/app/interfaces/product-order.interface.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
export interface ProductOrderInfo {
|
||||||
|
product: string;
|
||||||
|
quantity: number;
|
||||||
|
price: number;
|
||||||
|
}
|
||||||
12
src/app/interfaces/product.interface.ts
Normal file
12
src/app/interfaces/product.interface.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
export interface ProductInfo {
|
||||||
|
reference: string;
|
||||||
|
name: string;
|
||||||
|
duration: number;
|
||||||
|
caliber: string;
|
||||||
|
approvalNumber: string;
|
||||||
|
weight: number;
|
||||||
|
nec: number;
|
||||||
|
image: string;
|
||||||
|
link: string;
|
||||||
|
minimalQuantity: number;
|
||||||
|
}
|
||||||
8
src/app/interfaces/purchase-order.interface.ts
Normal file
8
src/app/interfaces/purchase-order.interface.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import {ProductOrderInfo} from "./product-order.interface";
|
||||||
|
import {SupplierInfo} from "./supplier.interface";
|
||||||
|
|
||||||
|
export interface PurchaseOrderInfo {
|
||||||
|
purchaseCondition: string;
|
||||||
|
productOrder: ProductOrderInfo[];
|
||||||
|
supplier: SupplierInfo[]
|
||||||
|
}
|
||||||
9
src/app/interfaces/quotation.interface.ts
Normal file
9
src/app/interfaces/quotation.interface.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import {ProductOrderInfo} from "./product-order.interface";
|
||||||
|
import {SupplierInfo} from "./supplier.interface";
|
||||||
|
|
||||||
|
export interface QuotationInfo {
|
||||||
|
saleCondition: string;
|
||||||
|
message: string;
|
||||||
|
productOrder: ProductOrderInfo[];
|
||||||
|
supplier: SupplierInfo[]
|
||||||
|
}
|
||||||
12
src/app/interfaces/supplier.interface.ts
Normal file
12
src/app/interfaces/supplier.interface.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import {ProductInfo} from "./product.interface";
|
||||||
|
|
||||||
|
export interface SupplierInfo {
|
||||||
|
name: string;
|
||||||
|
email: string;
|
||||||
|
phone: string;
|
||||||
|
address: string;
|
||||||
|
zipCode: string;
|
||||||
|
city: string;
|
||||||
|
deliveryDelay: number;
|
||||||
|
product: ProductInfo[];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user