commit compras3 2711
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-27 18:56:24 +02:00
parent 930064269e
commit 9cf9764710
87 changed files with 2856 additions and 195 deletions
+13 -7
View File
@@ -14,7 +14,13 @@ import {
PackageCheck,
Warehouse,
} from 'lucide-react';
import { PageTitle, Panel, Status } from '@/components/procurement';
import {
ActionBar,
TableViewport,
PageTitle,
Panel,
Status,
} from '@/components/procurement';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
@@ -145,7 +151,7 @@ export default function Preview({
.includes(search.toLowerCase()),
);
const requestTable = (
<div className="overflow-x-auto">
<TableViewport>
<table className="w-full text-left text-sm">
<thead className="border-b text-xs text-muted-foreground">
<tr>
@@ -212,7 +218,7 @@ export default function Preview({
Nenhum exemplo corresponde à pesquisa.
</p>
)}
</div>
</TableViewport>
);
return (
<>
@@ -410,7 +416,7 @@ export default function Preview({
title="Matriz de avaliação · DEMO-001"
description="Valores ilustrativos. Preço 40% · qualidade 20% · prazo 15% · histórico 15% · pagamento 10%."
>
<div className="overflow-x-auto">
<TableViewport>
<table className="w-full text-left text-sm">
<thead className="border-b text-xs text-muted-foreground">
<tr>
@@ -455,7 +461,7 @@ export default function Preview({
))}
</tbody>
</table>
</div>
</TableViewport>
<p className="mt-5 rounded-lg bg-amber-50 p-4 text-sm text-amber-900">
Exemplo de comparação incompleta: uma das
propostas ainda não tem duas avaliações. A
@@ -803,7 +809,7 @@ export default function Preview({
/>
</div>
</div>
<div className="mt-6 flex flex-wrap gap-3">
<ActionBar className="mt-6">
<Button
onClick={() =>
setDetail({
@@ -830,7 +836,7 @@ export default function Preview({
<Button disabled>
Acção indisponível
</Button>
</div>
</ActionBar>
</Panel>
</>
)}