Add cost tracking for spools and usage history

This commit is contained in:
Matteo Parenti
2026-02-19 14:13:18 +01:00
parent c856badb84
commit 04ffca204f
24 changed files with 958 additions and 3 deletions
+2
View File
@@ -1788,6 +1788,7 @@ export interface InventorySpool {
archived_at: string | null;
created_at: string;
updated_at: string;
cost_per_kg: number | null;
k_profiles?: SpoolKProfile[];
}
@@ -1799,6 +1800,7 @@ export interface SpoolUsageRecord {
weight_used: number;
percent_used: number;
status: string;
cost: number | null;
created_at: string;
}