diff --git a/src/pages/Products.tsx b/src/pages/Products.tsx index 5d43ddc..ef9d482 100644 --- a/src/pages/Products.tsx +++ b/src/pages/Products.tsx @@ -24,8 +24,8 @@ type ProductRow = ProductAnalyticsItem & { const riskStyles: Record = { rupture: { label: 'Sem estoque', - className: 'border-fuchsia-400/35 bg-fuchsia-400/10 text-fuchsia-300', - dotClass: 'bg-fuchsia-400' + className: 'border-zinc-500/30 bg-zinc-500/10 text-zinc-300', + dotClass: 'bg-zinc-400' }, critical: { label: 'Até 7 dias', @@ -575,7 +575,18 @@ const Products = () => { ) : (
- +
+ + + + + + + + + + + @@ -596,31 +607,31 @@ const Products = () => { return ( - - - - - + + - +
ID Produto
#{product.id} -
{product.name}
+
+
{product.name}
Preço Atual: {formatCurrency(product.lastPrice)}
- + {style.label} +
{formatNumber(product.quantitySold)} un.
{formatNumber(product.stock)} un.{formatNumber(product.dailySales, 2)} un./dia + {formatNumber(product.stock)} un.{formatNumber(product.dailySales, 2)} un./dia {formatDays(product.daysOfCover)} {formatCurrency(product.revenue)}{formatCurrency(product.revenue)}