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

Svp utbetalingsgrad støtter desimaler #2408

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Svp utbetalingsgrad støtter desimaler #2408

merged 1 commit into from
Aug 31, 2023

Conversation

palfi
Copy link
Contributor

@palfi palfi commented Aug 30, 2023

No description provided.

@palfi palfi requested a review from a team as a code owner August 30, 2023 09:36
@@ -50,7 +51,7 @@ private static List<SvpUttakResultatPeriode> utledSvpUttakResultatPeriode(Svange
.stream()
.map(periodeDto -> SvpUttakResultatPeriode.Builder.ny()
.medTidsperiode(DatoIntervall.fraOgMedTilOgMed(periodeDto.fom(), periodeDto.tom()))
.medUtbetalingsgrad(periodeDto.utbetalingsgrad().longValue())
.medUtbetalingsgrad(periodeDto.utbetalingsgrad().setScale(2, RoundingMode.HALF_UP))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

satt en scale her i tilfelle det plutselig kommer 1000 desimaler fra fpsak

@palfi palfi merged commit fde8450 into master Aug 31, 2023
9 of 10 checks passed
@palfi palfi deleted the FAGSYSTEM-290945 branch August 31, 2023 08:35
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.

3 participants