diff --git a/src/components/PricingView.tsx b/src/components/PricingView.tsx index 140057c..06e942a 100644 --- a/src/components/PricingView.tsx +++ b/src/components/PricingView.tsx @@ -1330,7 +1330,7 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, ); })} - handleSort('unitsOuter')}> @@ -1361,9 +1361,9 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, { e.stopPropagation(); handleResizeStart(e, 'unitsOuter', columnWidths.unitsOuter); }} /> - handleSort('outerW')}>
@@ -1392,9 +1392,9 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, { e.stopPropagation(); handleResizeStart(e, 'outerW', columnWidths.outerW); }} /> - handleSort('outerL')}>
@@ -1423,9 +1423,9 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, { e.stopPropagation(); handleResizeStart(e, 'outerL', columnWidths.outerL); }} /> - handleSort('outerH')}>
@@ -1581,24 +1581,24 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, )} > {/* Art. No. */} - + {row[COLUMNS.ARTICLE_NO]} {/* Article Name */} - + {row[COLUMNS.ARTICLE_NAME] || '—'} {/* Line */} - + {row[COLUMNS.LINE] || '—'} {/* Classification */} - + {/* TYPE cell */} - + {editingType?.rowIndex === dataIndex ? (
{/* ITEM TO LOGISTIC cell */} - + {editingLogistic?.rowIndex === dataIndex ? ( + {isEditing ? (
+ {unitOuterBadge(row[unitsOuterIdx])} - + {row[COLUMNS.OUTER_W] ?? '-'} - + {row[COLUMNS.OUTER_L] ?? '-'} - + {row[COLUMNS.OUTER_H] ?? '-'} @@ -1755,7 +1755,7 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, {containerCols.map(col => { const colKey = `con_${col.index}`; return ( - + {unitBadge(row[col.index], col.name)} );