Add editable supply material details
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 49s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 49s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user