Feature: Add ITEM TO LOGISTIC column to Pricing Units tab.

- Integrated new column after TYPE.
- Enabled inline editing with auto-save.
- Added field to the full row EditPanel.
- Configured dynamic column detection in types.ts.
This commit is contained in:
Christian Vidal Wolf
2026-04-23 12:58:51 +02:00
parent 617eb00edb
commit aca37c4a99
4 changed files with 71 additions and 4 deletions
+4 -2
View File
@@ -40,7 +40,8 @@ export const COLUMNS = {
VERIFIED_DIMS: 100,
VALIDATED_CHECK: 101,
VALIDATED_NOTE: 102,
PRODUCT_TYPE: 103
PRODUCT_TYPE: 103,
ITEM_TO_LOGISTIC: 104
};
// Search patterns for dynamic detection
@@ -75,7 +76,8 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
VERIFIED_DIMS: ['verified'],
VALIDATED_CHECK: ['validated'],
VALIDATED_NOTE: ['note'],
PRODUCT_TYPE: ['product', 'type']
PRODUCT_TYPE: ['product', 'type'],
ITEM_TO_LOGISTIC: ['item', 'to', 'logistic']
};
export function resolveColumnIndices(headers: string[]): typeof COLUMNS {