mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:35:25 +02:00
fix: restore CPNP No. as Excel-resolved column, not virtual
CPNP_NO re-added to COLUMN_PATTERNS so resolveColumnIndices maps it to the real Excel column index. Removed it from VIRTUAL_COLS and editableColumns in App.tsx since data comes from the spreadsheet, not Supabase-only storage. Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
co-authored by
claude-flow
parent
1b4918a385
commit
9f3acd0631
@@ -180,7 +180,6 @@ export default function App() {
|
||||
[COLUMNS.ITEM_TO_LOGISTIC]: 'Item to Logistic',
|
||||
[COLUMNS.ANNA_CHECK]: 'Anna Check',
|
||||
[COLUMNS.ANNA_NOTE]: 'Anna Note',
|
||||
[COLUMNS.CPNP_NO]: 'CPNP No.',
|
||||
};
|
||||
Object.entries(VIRTUAL_COLS).forEach(([idxStr, name]) => {
|
||||
const idx = Number(idxStr);
|
||||
@@ -207,7 +206,6 @@ export default function App() {
|
||||
resolvedCols.VALIDATED_NOTE,
|
||||
resolvedCols.PRODUCT_TYPE,
|
||||
resolvedCols.ITEM_TO_LOGISTIC,
|
||||
resolvedCols.CPNP_NO
|
||||
]);
|
||||
|
||||
headers.forEach((h: any, i: number) => {
|
||||
|
||||
Reference in New Issue
Block a user