added all interfaces necessary from project

This commit is contained in:
2025-11-14 11:19:16 +01:00
parent 96927161a0
commit e744a50923
10 changed files with 72 additions and 4 deletions

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
import {DeliveryNoteInfo} from "./delivery-note.interface";
export interface DelivererInfo {
transporter: string;
deliveryNote: DeliveryNoteInfo[];
}

View 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[];
}

View File

@@ -0,0 +1,6 @@
import {ProductInfo} from "./product.interface";
export interface productDeliveryInfo {
product: ProductInfo[];
quantity: number;
}

View File

@@ -0,0 +1,5 @@
export interface ProductOrderInfo {
product: string;
quantity: number;
price: number;
}

View 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;
}

View 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[]
}

View 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[]
}

View 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[];
}