import { Head, useForm } from '@inertiajs/react'; import { FormErrors, PageTitle, Panel } from '@/components/procurement'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; export default function Setup() { const form = useForm({ name: '', department: '' }); return ( <>
{ e.preventDefault(); form.post('/empresa/iniciar'); }} className="space-y-5" >
form.setData('name', e.target.value) } />
form.setData('department', e.target.value) } placeholder="Ex.: Administração" />

Será criado um centro de custo geral. Moeda inicial: MZN. Regras de aprovação provisórias.

); } Setup.layout = { breadcrumbs: [{ title: 'Configurar empresa', href: '/empresa/iniciar' }], };