feat(F-090): completed feature

This commit is contained in:
chattie
2026-08-20 21:40:41 +02:00
parent 760b4d0be2
commit 84bf380987
11 changed files with 169 additions and 12 deletions

View File

@@ -455,13 +455,13 @@ export function InventorySection({ productId }: InventorySectionProps) {
onClick={() =>
setRows((prev) => ({
...prev,
[variant.id]: { ...prev[variant.id], editingSku: true, skuValue: variant.sku },
[variant.id]: { ...prev[variant.id], editingSku: true, skuValue: r.variant.sku },
}))
}
title="Clic para editar SKU"
className="font-mono text-xs text-gray-600 hover:text-[#2D6A4F] cursor-text text-left w-full truncate block"
>
{variant.sku}
{r.variant.sku}
</button>
)}
</td>
@@ -503,14 +503,14 @@ export function InventorySection({ productId }: InventorySectionProps) {
[variant.id]: {
...prev[variant.id],
editingEan: true,
eanValue: variant.ean ?? '',
eanValue: r.variant.ean ?? '',
},
}))
}
title="Clic para editar EAN"
className="font-mono text-xs text-gray-500 hover:text-[#2D6A4F] cursor-text text-left w-full truncate block"
>
{variant.ean ?? '—'}
{r.variant.ean ?? '—'}
</button>
)}
</td>