@@ -1,6 +1,6 @@
|
||||
import { Head } from '@inertiajs/react';
|
||||
import { useState } from 'react';
|
||||
import { PageTitle, Panel } from '@/components/procurement';
|
||||
import { ActionBar, PageTitle, Panel } from '@/components/procurement';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Label } from '@/components/ui/label';
|
||||
|
||||
@@ -352,7 +352,7 @@ export default function AdmissionProposal() {
|
||||
}
|
||||
/>
|
||||
</Label>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<ActionBar>
|
||||
<Button
|
||||
variant="outline"
|
||||
disabled={
|
||||
@@ -395,7 +395,7 @@ export default function AdmissionProposal() {
|
||||
>
|
||||
Simular devolução
|
||||
</Button>
|
||||
</div>
|
||||
</ActionBar>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useState } from 'react';
|
||||
import { InventoryNotice, ReceiptProgressTable } from '@/components/inventory';
|
||||
import { Panel, controlClass } from '@/components/procurement';
|
||||
import { TableViewport, Panel, controlClass } from '@/components/procurement';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
@@ -227,7 +227,7 @@ export default function InventoryDemo({
|
||||
onChange={(event) => setSearch(event.target.value)}
|
||||
className="mb-5 max-w-sm"
|
||||
/>
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full text-left text-sm">
|
||||
<thead className="border-b text-muted-foreground">
|
||||
<tr>
|
||||
@@ -272,7 +272,7 @@ export default function InventoryDemo({
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
{visible.length === 0 && (
|
||||
<p className="py-5 text-sm text-muted-foreground">
|
||||
Nenhum exemplo corresponde à pesquisa.
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
import { Head, Link } from '@inertiajs/react';
|
||||
import { Printer } from 'lucide-react';
|
||||
import { useState } from 'react';
|
||||
import { controlClass, PageTitle, Panel } from '@/components/procurement';
|
||||
import {
|
||||
ActionBar,
|
||||
TableViewport,
|
||||
controlClass,
|
||||
PageTitle,
|
||||
Panel,
|
||||
} from '@/components/procurement';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Label } from '@/components/ui/label';
|
||||
|
||||
@@ -312,7 +318,7 @@ export default function RecommendationProposal() {
|
||||
. Os três concorrentes são fornecedores distintos;
|
||||
no cenário pronto têm duas avaliações por proposta.
|
||||
</p>
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full text-left text-sm">
|
||||
<caption className="mb-3 text-left text-xs text-muted-foreground">
|
||||
Pontuações ilustrativas, sem recálculo de
|
||||
@@ -361,7 +367,7 @@ export default function RecommendationProposal() {
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
</Panel>
|
||||
</div>
|
||||
<div className="print:hidden">
|
||||
@@ -509,7 +515,7 @@ export default function RecommendationProposal() {
|
||||
})
|
||||
}
|
||||
/>
|
||||
<div className="flex flex-wrap gap-3">
|
||||
<ActionBar>
|
||||
<Button
|
||||
disabled={
|
||||
(
|
||||
@@ -545,7 +551,7 @@ export default function RecommendationProposal() {
|
||||
>
|
||||
Simular devolução
|
||||
</Button>
|
||||
</div>
|
||||
</ActionBar>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user