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

Fjern bestemmenede fraværsdag (del 1) #814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjerga
Copy link
Contributor

@bjerga bjerga commented Dec 20, 2024

Spleis bruker ikke lenger denne datoen, så da kan vi fjerne den. Gjør det i to deler for å unngå problemer med in-flight meldinger.

@bjerga bjerga requested a review from a team as a code owner December 20, 2024 15:19
Comment on lines +77 to +81
af.foersteFravaersdag =
bestemmendeFravaersdag(
arbeidsgiverperioder = agp?.perioder.orEmpty(),
sykefravaersperioder = sykmeldingsperioder,
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Vi må fremdeles bruke bestemmende fraværsdag her, men det er det eneste stedet.

@@ -37,7 +36,6 @@ class XMLMapperTest {
private fun mockInntektsmeldingDokumentMedTommeLister(): Inntektsmelding =
mockInntektsmeldingV1().let {
it.copy(
sykmeldingsperioder = emptyList(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Må fjerne denne siden det beregningen av bestemmende fraværsdag tryner. Det er uansett ikke realistisk at sykmeldingsperiodene er tomme.

@bjerga
Copy link
Contributor Author

bjerga commented Dec 23, 2024

Testet OK.

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.

1 participant