diff --git a/src/components/ProductDescriptions.tsx b/src/components/ProductDescriptions.tsx index de0a9bd..04a738b 100644 --- a/src/components/ProductDescriptions.tsx +++ b/src/components/ProductDescriptions.tsx @@ -184,14 +184,6 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro }; const getRowColor = (row: ExcelRow) => { - // EOL Rule: OOC Classification and 0 or negative stock (Item Available) - const classification = String(row[COLUMNS.CLASSIFICATION] || '').toUpperCase().trim(); - const stock = Number(row[COLUMNS.ITEM_AVAILABLE] || 0); - - if (classification === 'OOC' && stock <= 0) { - return 'bg-yellow-500/10 hover:bg-yellow-500/20'; // EOL Highlight - } - const fields = [ row[COLUMNS.LONG_DE], row[COLUMNS.LONG_EN], row[COLUMNS.SHORT_DE], row[COLUMNS.SHORT_EN] @@ -205,13 +197,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro const Badge = ({ content, row }: { content: any, row: ExcelRow }) => { if (content !== undefined && content !== null && content !== '') return ; - // EOL Exception: OOC and stock <= 0 - const classification = String(row[COLUMNS.CLASSIFICATION] || '').toUpperCase().trim(); - const stock = Number(row[COLUMNS.ITEM_AVAILABLE] || 0); - if (classification === 'OOC' && stock <= 0) { - return EOL not neccessary; - } return ✗ Missing; };