Skip to content

Commit

Permalink
feat: add a KBIS link in etablissement page as some user use siret
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Jun 10, 2024
1 parent a281dde commit 020f581
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions components/etablissement-section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Tag } from '#components-ui/tag';
import { ConventionCollectivesBadgesSection } from '#components/badges-section/convention-collectives';
import { labelsAndCertificatesSources } from '#components/badges-section/labels-and-certificates';
import AvisSituationLink from '#components/justificatifs/avis-situation-link';
import ExtraitRNELink from '#components/justificatifs/extrait-rne-link';
import { Section } from '#components/section';
import { CopyPaste } from '#components/table/copy-paste';
import { TwoColumnTable } from '#components/table/simple';
Expand Down Expand Up @@ -170,9 +171,25 @@ const EtablissementSection: React.FC<IProps> = ({
['', <br />],
]
: []),

[
'Avis de situation Insee',
<AvisSituationLink session={session} etablissement={etablissement} />,
'Justificatif(s) d’existence',
<>
Avis de situation Insee de cet établissement :{' '}
<AvisSituationLink
session={session}
etablissement={etablissement}
label="télécharger"
/>
{!usedInEntreprisePage && uniteLegale.dateMiseAJourInpi && (
<>
<br />
Extrait RNE {uniteLegaleLabel} (
<a href="/faq/extrait-kbis">équivalent KBIS/D1</a>) :{' '}
<ExtraitRNELink uniteLegale={uniteLegale} session={session} />
</>
)}
</>,
],
];

Expand Down

0 comments on commit 020f581

Please sign in to comment.