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
@@ -1,6 +1,7 @@
import { Head, Link, router } from '@inertiajs/react';
import { useState } from 'react';
import {
ActionBar,
FormErrors,
PageTitle,
Panel,
@@ -160,7 +161,7 @@ export default function AgreementFollowup({
}
/>
</label>
<div className="flex items-center gap-4">
<ActionBar>
<Button type="submit">Aplicar filtros</Button>
<Link
href={
@@ -172,7 +173,7 @@ export default function AgreementFollowup({
>
Limpar filtros
</Link>
</div>
</ActionBar>
</form>
<div className="mt-4">
<FormErrors errors={errors} />
+3 -2
View File
@@ -2,6 +2,7 @@ import { Head, Link, useForm, useRemember } from '@inertiajs/react';
import { useEffect, useRef, type RefObject } from 'react';
import { Button } from '@/components/ui/button';
import {
ActionBar,
FormErrors,
PageTitle,
Panel,
@@ -998,7 +999,7 @@ function CostPreparation(props: Props & { url: string; historyKey: string }) {
onChange={(e) => form.setData('reason', e.target.value)}
/>
</label>
<div className="flex flex-wrap gap-3">
<ActionBar>
<Button disabled={form.processing}>Conferir valores</Button>
<Button
type="button"
@@ -1027,7 +1028,7 @@ function CostPreparation(props: Props & { url: string; historyKey: string }) {
>
Guardar para revisão
</Button>
</div>
</ActionBar>
</form>
</Panel>
);