Connect supplies to project demand

This commit is contained in:
Cauê Faleiros
2026-07-13 15:17:33 -03:00
parent 8f3f2f3e93
commit 060b4da907
5 changed files with 334 additions and 17 deletions

View File

@@ -232,6 +232,17 @@ export interface SupplyPurchaseNeed {
status: 'critical' | 'attention' | 'ok';
suppliers: string[];
colors: string[];
unit?: string;
source?: string;
missingReference?: boolean;
products?: Array<{
productId: string;
name: string;
suggestedQuantity: number;
quantitySold: number;
stockQuantity: number;
yieldPerKg?: number;
}>;
}
export interface SupplyStats {