Align purchase needs pending column
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m25s

This commit is contained in:
Cauê Faleiros
2026-07-21 14:22:17 -03:00
parent 166f97c629
commit a6e07e46d9

View File

@@ -1946,8 +1946,8 @@ const PurchaseNeedsScreen = () => {
<th scope="col" className="px-4 py-3 text-left">Produto</th>
<th scope="col" className="px-4 py-3 text-right">Vendido</th>
<th scope="col" className="px-4 py-3 text-right">Estoque produto</th>
<th scope="col" className="px-6 py-3 text-right">Impacto estimado</th>
<th scope="col" className="px-6 py-3 text-left">Pendência</th>
<th scope="col" className="px-4 py-3 text-right">Impacto estimado</th>
<th scope="col" className="px-4 py-3 text-right">Pendência</th>
<th scope="col" className="px-4 py-3 text-right">Ação</th>
</tr>
</thead>
@@ -1971,8 +1971,8 @@ const PurchaseNeedsScreen = () => {
</td>
<td className="px-4 py-4 text-right align-middle text-sm font-bold text-dark-text">{formatNumber(soldQuantity, 0)} un.</td>
<td className="px-4 py-4 text-right align-middle text-sm font-bold text-dark-text">{formatNumber(stockQuantity, 0)} un.</td>
<td className="px-6 py-4 text-right align-middle text-sm font-bold text-amber-300">{formatNeedQuantity(need, need.purchaseKg)}</td>
<td className="px-6 py-4 align-middle">
<td className="px-4 py-4 text-right align-middle text-sm font-bold text-amber-300">{formatNeedQuantity(need, need.purchaseKg)}</td>
<td className="px-4 py-4 text-right align-middle">
<span className="inline-flex w-fit rounded-full border border-sky-400/30 bg-sky-400/10 px-2.5 py-1 text-xs font-bold text-sky-300">
{getNeedPendingLabel(need)}
</span>