Center pending planning detail
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m49s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m49s
This commit is contained in:
@@ -598,28 +598,28 @@ const PlanningIssues = () => {
|
|||||||
<span className="w-fit rounded-full border border-red-400/25 bg-red-400/10 px-2.5 py-1 text-xs font-bold text-red-300">{formatNumber(visibleNegativeStockRows.length)} materiais</span>
|
<span className="w-fit rounded-full border border-red-400/25 bg-red-400/10 px-2.5 py-1 text-xs font-bold text-red-300">{formatNumber(visibleNegativeStockRows.length)} materiais</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="overflow-x-auto">
|
<div className="overflow-x-auto">
|
||||||
<table className="w-full min-w-[900px] table-fixed text-left text-sm">
|
<table className="w-full min-w-[680px] table-fixed text-left text-sm">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col className="w-[55%]" />
|
<col className="w-[57%]" />
|
||||||
<col className="w-[15%]" />
|
<col className="w-[18%]" />
|
||||||
<col className="w-[15%]" />
|
<col className="w-[17%]" />
|
||||||
<col className="w-[15%]" />
|
<col className="w-[8%]" />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead className="border-b border-dark-border bg-dark-header text-dark-muted">
|
<thead className="border-b border-dark-border bg-dark-header text-dark-muted">
|
||||||
<tr>
|
<tr>
|
||||||
<th className="px-5 py-3 text-[10px] font-bold uppercase tracking-wider">Material</th>
|
<th className="px-5 py-3 text-[10px] font-bold uppercase tracking-wider">Material</th>
|
||||||
<th className="px-5 py-3 text-center text-[10px] font-bold uppercase tracking-wider">Saldo informado</th>
|
<th className="px-5 py-3 pr-16 text-right text-[10px] font-bold uppercase tracking-wider">Saldo informado</th>
|
||||||
<th className="px-5 py-3 text-center text-[10px] font-bold uppercase tracking-wider">Planejamento</th>
|
<th className="px-5 py-3 text-center text-[10px] font-bold uppercase tracking-wider">Planejamento</th>
|
||||||
<th className="px-5 py-3 text-center text-[10px] font-bold uppercase tracking-wider">Ações</th>
|
<th className="px-5 py-3 text-right text-[10px] font-bold uppercase tracking-wider">Ações</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody className="divide-y divide-dark-border">
|
<tbody className="divide-y divide-dark-border">
|
||||||
{paginatedNegativeStockRows.map(row => (
|
{paginatedNegativeStockRows.map(row => (
|
||||||
<tr key={row.produto_id} className="transition-colors hover:bg-dark-input/50">
|
<tr key={row.produto_id} className="transition-colors hover:bg-dark-input/50">
|
||||||
<td className="max-w-0 px-5 py-3"><p className="truncate font-bold text-dark-text" title={row.nome}>{row.nome}</p><p className="mt-1 font-mono text-[11px] font-semibold text-dark-muted">#{row.produto_id}</p></td>
|
<td className="max-w-0 px-5 py-3"><p className="truncate font-bold text-dark-text" title={row.nome}>{row.nome}</p><p className="mt-1 font-mono text-[11px] font-semibold text-dark-muted">#{row.produto_id}</p></td>
|
||||||
<td className="px-5 py-3 text-center"><p className="font-bold text-red-300">{formatNumber(Number(row.saldo), 2)} un.</p><p className="mt-1 text-[11px] font-semibold text-dark-muted">informado no Tiny</p></td>
|
<td className="px-5 py-3 pr-16 text-right"><p className="font-bold text-red-300">{formatNumber(Number(row.saldo), 2)} un.</p><p className="mt-1 text-[11px] font-semibold text-dark-muted">informado no Tiny</p></td>
|
||||||
<td className="px-5 py-3 text-center"><span className="inline-flex rounded-full border border-dark-border bg-dark-input px-2.5 py-1 text-xs font-bold text-dark-muted">Usa 0 disponível</span></td>
|
<td className="px-5 py-3 text-center"><span className="inline-flex rounded-full border border-dark-border bg-dark-input px-2.5 py-1 text-xs font-bold text-dark-muted">Usa 0 disponível</span></td>
|
||||||
<td className="px-5 py-3 text-center">
|
<td className="px-5 py-3 text-right">
|
||||||
<Link to="/supplies/inventory?tab=stock" title={`Conferir ${row.nome} no estoque`} aria-label={`Conferir ${row.nome} no estoque`} className="inline-flex h-8 w-8 items-center justify-center rounded-lg border border-dark-border bg-dark-input text-brand-primary transition-colors hover:border-brand-primary cursor-pointer"><Eye className="h-3.5 w-3.5" /></Link>
|
<Link to="/supplies/inventory?tab=stock" title={`Conferir ${row.nome} no estoque`} aria-label={`Conferir ${row.nome} no estoque`} className="inline-flex h-8 w-8 items-center justify-center rounded-lg border border-dark-border bg-dark-input text-brand-primary transition-colors hover:border-brand-primary cursor-pointer"><Eye className="h-3.5 w-3.5" /></Link>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user