Skip to content

Commit

Permalink
Vi må filtrere ut søker ved sjekk av barnSomHaddeDeltBostedIForrigePe…
Browse files Browse the repository at this point in the history
…riodeMenIkkeDenne (#5076)

Favrokort:
https://favro.com/organization/98c34fb974ce445eac854de0/1844bbac3b6605eacc8f5543?card=NAV-24302

Ved utleding av `barnSomHaddeDeltBostedIForrigePeriodeMenIkkeDenne` så
må vi filtrere bort alt som ikke er BARN fra
`hentPersonerMedDeltBostedIForrigePeriodeMenIkkeDenne`
  • Loading branch information
UyQuangNguyen authored Feb 17, 2025
1 parent abfb509 commit daf2b99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ fun ISanityBegrunnelse.hentBarnasFødselsdatoerForBegrunnelse(
val barnMistetUtbetalingFraForrigeBehandling =
hentPersonerMistetUtbetalingFraForrigeBehandling(begrunnelsesGrunnlagPerPerson).filter { it.type == PersonType.BARN }

val barnSomHaddeDeltBostedIForrigePeriodeMenIkkeDenne = hentPersonerMedDeltBostedIForrigePeriodeMenIkkeDenne(begrunnelsesGrunnlagPerPerson)
val barnSomHaddeDeltBostedIForrigePeriodeMenIkkeDenne = hentPersonerMedDeltBostedIForrigePeriodeMenIkkeDenne(begrunnelsesGrunnlagPerPerson).filter { it.type == PersonType.BARN }
val barnSomNåFårUtbetalingIPeriode = barnMedUtbetaling - barnMedUtbetalingHøyereEnn0IForrigeperiode

return when {
Expand Down

0 comments on commit daf2b99

Please sign in to comment.