Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beregn bestemmende fraværsdag dersom kun refusjon etterspørs #620

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

bjerga
Copy link
Contributor

@bjerga bjerga commented Jul 19, 2024

Dette løser et problem der sykmeldt har flere AG og sykmeldinger som overlapper hull hos ulike AG. Gjelder kun når det bare etterspørs refusjon. Da bør vi ikke velge bestemmende fraværsdag ut i fra Spleis sine forslag, men heller regne ut selv.

@bjerga bjerga requested a review from a team as a code owner July 19, 2024 10:32
@bjerga
Copy link
Contributor Author

bjerga commented Jul 19, 2024

Testet OK.

),
bestemmendeFravaersdager =
mapOf(
it.orgnr to 3.januar,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er det slik at hvis denne er med så er det flere arbeidsforhold?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ikke nødvendigvis. Den kan være et map med én bestemmende fraværsdag, som gjelder den AG som sender inn.

@bjerga bjerga merged commit 177b3a8 into main Jul 22, 2024
19 checks passed
@bjerga bjerga deleted the dev/bestemmende-fravaersdag-kun-refusjon branch July 22, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants