mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 17:15:23 +02:00
feat: add Cosmetic Items tab with inline CPNP No. editing
New sidebar tab for cosmetic product lines (INKEE, BATH FUN, TOP FASHION, SENSES, BODYNESS) filtered to items with empty CPNP No. Column filters on Item Available allow toggling zero/non-zero stock. CPNP_NO added as virtual column (index 107) stored in Supabase. Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
co-authored by
claude-flow
parent
d9b9664a9d
commit
1556aea081
+3
-1
@@ -43,7 +43,8 @@ export const COLUMNS = {
|
||||
PRODUCT_TYPE: 103,
|
||||
ITEM_TO_LOGISTIC: 104,
|
||||
ANNA_CHECK: 105,
|
||||
ANNA_NOTE: 106
|
||||
ANNA_NOTE: 106,
|
||||
CPNP_NO: 107
|
||||
};
|
||||
|
||||
// Search patterns for dynamic detection
|
||||
@@ -81,6 +82,7 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
|
||||
ITEM_TO_LOGISTIC: ['item', 'logistic'],
|
||||
ANNA_CHECK: ['anna', 'check'],
|
||||
ANNA_NOTE: ['anna', 'note'],
|
||||
CPNP_NO: ['cpnp'],
|
||||
// Virtual/Extra columns stay hardcoded and are NOT auto-detected from headers
|
||||
// to prevent internal data from being shifted or overwritten by Excel column shifts.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user