mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 16:55:24 +02:00
debug: add classification and stock columns to verify EOL logic
This commit is contained in:
@@ -177,6 +177,8 @@ export function ProductDescriptions({ data, onEdit }: ProductDescriptionsProps)
|
||||
{ col: COLUMNS.LONG_EN, label: 'Long EN' },
|
||||
{ col: COLUMNS.SHORT_DE, label: 'Short DE' },
|
||||
{ col: COLUMNS.SHORT_EN, label: 'Short EN' },
|
||||
{ col: COLUMNS.CLASSIFICATION, label: 'Classif.' },
|
||||
{ col: COLUMNS.ITEM_AVAILABLE, label: 'Stock' },
|
||||
].map(({ col, label }) => (
|
||||
<th
|
||||
key={col}
|
||||
@@ -205,6 +207,8 @@ export function ProductDescriptions({ data, onEdit }: ProductDescriptionsProps)
|
||||
<td className="px-4 py-3"><Badge content={row[COLUMNS.LONG_EN]} row={row} /></td>
|
||||
<td className="px-4 py-3"><Badge content={row[COLUMNS.SHORT_DE]} row={row} /></td>
|
||||
<td className="px-4 py-3"><Badge content={row[COLUMNS.SHORT_EN]} row={row} /></td>
|
||||
<td className="px-4 py-3 text-slate-400 text-xs">{String(row[COLUMNS.CLASSIFICATION] || 'N/A')}</td>
|
||||
<td className="px-4 py-3 text-slate-400 text-xs">{String(row[COLUMNS.ITEM_AVAILABLE] || '0')}</td>
|
||||
<td className="px-4 py-3 text-right">
|
||||
<button
|
||||
onClick={() => onEdit(index)}
|
||||
|
||||
Reference in New Issue
Block a user