@@ -5,6 +5,9 @@ import {
|
||||
} from '@/components/procurement-payment-insights';
|
||||
import { Download } from 'lucide-react';
|
||||
import {
|
||||
FormErrors,
|
||||
ActionBar,
|
||||
TableViewport,
|
||||
PageTitle,
|
||||
Panel,
|
||||
Status,
|
||||
@@ -232,7 +235,7 @@ export default function ProcurementReports({
|
||||
</option>
|
||||
</select>
|
||||
</label>
|
||||
<div className="flex items-end gap-3">
|
||||
<ActionBar>
|
||||
<Button type="submit" disabled={form.processing}>
|
||||
Aplicar filtros
|
||||
</Button>
|
||||
@@ -242,16 +245,8 @@ export default function ProcurementReports({
|
||||
>
|
||||
Limpar
|
||||
</Link>
|
||||
</div>
|
||||
{Object.entries(form.errors).map(([key, message]) => (
|
||||
<p
|
||||
key={key}
|
||||
role="alert"
|
||||
className="text-sm text-red-700"
|
||||
>
|
||||
{message}
|
||||
</p>
|
||||
))}
|
||||
</ActionBar>
|
||||
<FormErrors errors={form.errors} />
|
||||
</form>
|
||||
</Panel>
|
||||
<section
|
||||
@@ -279,7 +274,7 @@ export default function ProcurementReports({
|
||||
não apenas esta página. Consulta gerada em{' '}
|
||||
{new Date(generatedAt).toLocaleString('pt-MZ')}.
|
||||
</p>
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full min-w-240 text-left text-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -352,7 +347,7 @@ export default function ProcurementReports({
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
{records.data.length === 0 && (
|
||||
<p className="py-6 text-sm">
|
||||
Nenhuma requisição encontrada nos filtros e no
|
||||
|
||||
Reference in New Issue
Block a user