diff --git a/src/App.tsx b/src/App.tsx index 7d28fc5..4303dc0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -137,6 +137,7 @@ export default function App() { console.log('Fetching history data from Supabase for merge...'); const historyData = await getHistoryDataForMerge(); console.log('Supabase synced rows:', Object.keys(syncedData).length, '| History rows:', Object.keys(historyData).length); + console.log('[DEBUG] historyData["59272EN"] exists:', '59272EN' in historyData, '| value:', historyData['59272EN']?.[103], '| type:', typeof historyData['59272EN']); // Extend headers with virtual columns if the Excel is shorter than the saved data. // COLUMNS hardcoded indices (PRODUCT_TYPE=103, ITEM_TO_LOGISTIC=104, etc.) are used