@@ -1,3 +1,5 @@
|
||||
import { CompanyDetailsSettings } from '@/components/company-details-settings';
|
||||
import type { CompanyDetails } from '@/components/company-details-settings';
|
||||
import { CompanyAdministrativeLocation } from '@/components/administrative-location';
|
||||
import type { GeographyDescription } from '@/components/administrative-location';
|
||||
import { Head, Link, useForm } from '@inertiajs/react';
|
||||
@@ -167,6 +169,8 @@ function Assignment({
|
||||
);
|
||||
}
|
||||
export default function Parameters({
|
||||
companyDetails,
|
||||
companyDetailsReady,
|
||||
ready,
|
||||
geographyEnabled = false,
|
||||
geography = null,
|
||||
@@ -191,6 +195,8 @@ export default function Parameters({
|
||||
workContextConfiguration,
|
||||
enabledWorkContexts = [],
|
||||
}: {
|
||||
companyDetails: CompanyDetails | null;
|
||||
companyDetailsReady: boolean;
|
||||
ready: boolean;
|
||||
geographyEnabled?: boolean;
|
||||
geography?: GeographyDescription;
|
||||
@@ -301,6 +307,11 @@ export default function Parameters({
|
||||
tasks={workflowTasks}
|
||||
/>
|
||||
)}
|
||||
<CompanyDetailsSettings
|
||||
details={companyDetails}
|
||||
ready={companyDetailsReady && ready}
|
||||
version={version}
|
||||
/>
|
||||
{!ready ? (
|
||||
<Panel title="Instalação pendente">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user