-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overstyring uttak justering 2 (#5479)
* Fix: Begrenser ikke datepicker til korrekt sluttdato * Juster overstyringsikon * Legg til knapp for å avbryte overstyring * Standard funksjonalitet for ExpandableRow * Pointer * Justere types * Firmanavn i begrunnelsesboks * Aktivitetsnavn i overstyr aktivitet liste * Vise navn på saksbehandler i begrunnelsesboks * Tilpasse request og types
- Loading branch information
Showing
28 changed files
with
204 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { default } from './src/BehandlingPleiepengerIndex'; | ||
export * from './src/types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 10 additions & 15 deletions
25
packages/behandling-pleiepenger/src/types/OverstyringUttakRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,27 @@ | ||
export type OverstyringUttakArbeidsforhold = { | ||
type: string | null; | ||
organisasjonsnummer: string | null; | ||
orgnr: string | null; | ||
aktørId: string | null; | ||
arbeidsforholdId: string | null; | ||
}; | ||
|
||
export type OverstyringUttakUtbetalingsgrad = { | ||
arbeidsforhold: OverstyringUttakArbeidsforhold; | ||
utbetalingsgrad: string; | ||
utbetalingsgrad: string | number; | ||
}; | ||
|
||
export type EnkeltOverstyringUttak = { | ||
periode: { fom: string; tom: string }; | ||
lagreEllerOppdater: { | ||
erVilkarOk: boolean; | ||
begrunnelse: string; | ||
periode: { fom: string; tom: string }; | ||
søkersUttaksgrad: string; | ||
utbetalingsgrader: OverstyringUttakUtbetalingsgrad[]; | ||
}; | ||
begrunnelse: string; // denne mangler i backend? | ||
søkersUttaksgrad: string | number; | ||
utbetalingsgrader: OverstyringUttakUtbetalingsgrad[]; | ||
}; | ||
|
||
export type OverstyringUttakRequest = { | ||
'@type@': string; | ||
periode: { fom?: string; tom?: string }; | ||
erVilkarOk: boolean | undefined; | ||
avslagsDato: string | undefined; | ||
avslagskode: string | undefined; | ||
periode: { fom: string; tom: string }; | ||
erVilkarOk: boolean; | ||
begrunnelse: string; | ||
gåVidere: boolean; | ||
lagreEllerOppdater: EnkeltOverstyringUttak[]; | ||
slett: [{ id: number | string }][]; | ||
slett: { id: number | string }[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
// eslint-disable-next-line import/prefer-default-export | ||
export { default as Uttak } from './src/ui/MainComponent'; | ||
export * from './src/types'; | ||
export * from './src/constants'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/prosess-uttak/src/types/ArbeidsforholdReferanse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export type ArbeidsforholdReferanse = { | ||
identifikator: string | null; | ||
personIdentifikator: string | null; | ||
navn: string; | ||
fødselsdato: string | null; | ||
arbeidsforholdreferanser: [ | ||
{ | ||
internArbeidsforholdId: string; | ||
eksternArbeidsforholdId: string; | ||
}, | ||
]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/prosess-uttak/src/types/OverstyrbareAktiviteterResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { Arbeidsforhold } from './Arbeidsforhold'; | ||
import { Arbeidsforhold, ArbeidsforholdReferanse } from '.'; | ||
|
||
export interface OverstyrbareAktiviteterResponse { | ||
arbeidsforholdsperioder: Arbeidsforhold[]; | ||
arbeidsgiverOversikt: { [key: string]: ArbeidsforholdReferanse }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 2 additions & 15 deletions
17
packages/prosess-uttak/src/types/OverstyrtUttakResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
import { OverstyringUttak } from './OverstyringUttak'; | ||
import { ArbeidsforholdReferanse, OverstyringUttak } from '.'; | ||
|
||
export interface OverstyrtUttakResponse { | ||
overstyringer: OverstyringUttak[]; | ||
arbeidsgiverOversikt: { | ||
arbeidsgivere: { | ||
[key: string]: { | ||
identifikator: string; | ||
personIdentifikator: string; | ||
navn: string; | ||
fødselsdato: string; | ||
arbeidsforholdreferanser: { | ||
internArbeidsforholdId: string; | ||
eksternArbeidsforholdId: string; | ||
}[]; | ||
}; | ||
}; | ||
}; | ||
arbeidsgiverOversikt: { [key: string]: ArbeidsforholdReferanse }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.overstyringsHeader > button { | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.