diff --git a/src/pages/stock.tsx b/src/pages/stock.tsx index 11a5a53e95f183c497ea5fedc043d074ef9a619b..68238ff810c166378e3b965d39e155938cd61d29 100644 --- a/src/pages/stock.tsx +++ b/src/pages/stock.tsx @@ -121,7 +121,7 @@ const Stock = () => { <tr key={product.name} className={productIdx % 2 === 0 ? 'bg-white' : 'bg-gray-50'}> <td className="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">{product.name}</td> <td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500">{product.category}</td> - <td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500">{product.price.toFixed(2)}€ / {product?.subscriberPrice?.toFixed(2) ?? product.price.toFixed(2)} €</td> + <td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500">{product.price.toFixed(2).replace(".", ",")}€ / {product?.subscriberPrice?.toFixed(2).replace(".", ",") ?? product.price.toFixed(2).replace(".", ",")} €</td> <td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500"> {product.edit ? <input