mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-21 10:15:04 +02:00
Refactor cost calculation logic to prioritize spool usage history and update schema validation for cost_per_kg
This commit is contained in:
@@ -140,7 +140,7 @@ const columnHeaders: Record<string, (t: TFn) => string> = {
|
||||
data_origin: () => 'Data Origin',
|
||||
tag_type: () => 'Linked Tag Type',
|
||||
remaining: (t) => t('inventory.remaining'),
|
||||
cost_per_kg: () => 'Cost/kg',
|
||||
cost_per_kg: (t) => t('inventory.costPerKg'),
|
||||
};
|
||||
|
||||
// Column cell renderers (25 columns — matching SpoolBuddy exactly)
|
||||
|
||||
Reference in New Issue
Block a user