Add editable supply material details
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 49s

This commit is contained in:
Cauê Faleiros
2026-08-10 10:15:01 -03:00
parent 40737faaa5
commit 5ed91fa36f
8 changed files with 261 additions and 26 deletions

View File

@@ -292,6 +292,7 @@ export interface SupplyFabricPlan {
export interface SupplyPurchaseNeed {
material: string;
materialKey: string;
plannedKg: number;
stockKg: number;
pendingKg: number;
@@ -303,6 +304,8 @@ export interface SupplyPurchaseNeed {
unit?: string;
source?: string;
missingReference?: boolean;
preferredSupplier?: string;
notes?: string;
products?: Array<{
productId: string;
name: string;
@@ -315,6 +318,12 @@ export interface SupplyPurchaseNeed {
}>;
}
export type SupplyMaterialDetailsPayload = {
displayName?: string;
preferredSupplier?: string;
notes?: string;
};
export interface SupplyStats {
totalQuantityKg: number;
activeLots: number;