UI: Add 'Check Anna' column to Pricing Units view

Mirrors Check Ying with its own checkbox and note editor (pink theme).
Stored in virtual columns ANNA_CHECK (105) and ANNA_NOTE (106).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Vidal Wolf
2026-04-23 13:02:14 +02:00
co-authored by Claude Sonnet 4.6
parent aca37c4a99
commit f545776e15
2 changed files with 103 additions and 5 deletions
+6 -2
View File
@@ -41,7 +41,9 @@ export const COLUMNS = {
VALIDATED_CHECK: 101,
VALIDATED_NOTE: 102,
PRODUCT_TYPE: 103,
ITEM_TO_LOGISTIC: 104
ITEM_TO_LOGISTIC: 104,
ANNA_CHECK: 105,
ANNA_NOTE: 106
};
// Search patterns for dynamic detection
@@ -77,7 +79,9 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
VALIDATED_CHECK: ['validated'],
VALIDATED_NOTE: ['note'],
PRODUCT_TYPE: ['product', 'type'],
ITEM_TO_LOGISTIC: ['item', 'to', 'logistic']
ITEM_TO_LOGISTIC: ['item', 'to', 'logistic'],
ANNA_CHECK: ['anna', 'check'],
ANNA_NOTE: ['anna', 'note']
};
export function resolveColumnIndices(headers: string[]): typeof COLUMNS {