Skip to content

Commit

Permalink
Virksomhetsnummer endres til Organisasjonsnummer
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelegu committed Oct 24, 2024
1 parent e01603a commit 9a33a9e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/Pages/OmVirksomheten/OmVirksomheten.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
padding: 2rem;
max-width: 60rem;
width: 100%;
background: var(--a-white)
}

.informasjon-om-bedrift .ny-fane-ikon {
Expand Down
4 changes: 2 additions & 2 deletions src/Pages/OmVirksomheten/OmVirksomheten.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { useOverordnetEnhet, useUnderenhet } from '../../api/enhetsregisteretApi
import Underenhet from './Underenhet';
import OverordnetEnhet from './OverordnetEnhet';
import './OmVirksomheten.css';
import { Panel } from '@navikt/ds-react';
import { Box } from '@navikt/ds-react';
import { Brodsmulesti } from '../Banner';

const Kontaktpanel = ({ children }: { children: React.ReactNode }) => (
<Panel className="informasjon-om-bedrift">{children}</Panel>
<Box className="informasjon-om-bedrift">{children}</Box>
);

const OmVirksomheten: FunctionComponent = () => {
Expand Down
6 changes: 3 additions & 3 deletions src/Pages/OmVirksomheten/Underenhet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { Office1 as UnderenhetIkon } from '@navikt/ds-icons';
import { enhetsregisteretUnderenhetLink } from '../../lenker';
import './Underenhet.css';
import { LenkeMedLogging } from '../../GeneriskeElementer/LenkeMedLogging';
import { Underenhet } from '../../api/enhetsregisteretApi';
import { Underenhet as UnderenhetType } from '../../api/enhetsregisteretApi';
import { BodyShort, Heading, Label } from '@navikt/ds-react';
import { KontaktinfoUnderenhet } from './Kontaktinfo';

interface Props {
underenhet: Underenhet;
underenhet: UnderenhetType;
}

const Underenhet = ({ underenhet }: Props) => {
Expand All @@ -26,7 +26,7 @@ const Underenhet = ({ underenhet }: Props) => {
</Tekstboks>

<Tekstboks>
<Label>Virksomhetsnummer</Label>
<Label>Organisasjonsnummer</Label>
<BodyShort>{underenhet.organisasjonsnummer}</BodyShort>
</Tekstboks>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const UnderenhetCheckboks = ({ underenhet, valgteOrgnr }: UnderenhetCheck
size="small"
id={`${underenhet.OrganizationNumber}_UnderenhetCheckbox_id`}
className="virksomheter_virksomhetsmeny_sok_checkbox_underenheter_checkbox"
description={`Virk.nr ${underenhet.OrganizationNumber}`}
description={`Org.nr. ${underenhet.OrganizationNumber}`}
onClick={(e) => amplitudeFilterKlikk('organisasjon', 'underenhet', e.target)}
>
<BodyShort size="small" as="span">
Expand Down

0 comments on commit 9a33a9e

Please sign in to comment.