Skip to content

Commit

Permalink
FAGSYSTEM-360600: Ingen grunn til å vise andeler lagt til i periodise…
Browse files Browse the repository at this point in the history
…ring i fakta om beregning (#581)
  • Loading branch information
pekern authored Dec 12, 2024
1 parent 0d42715 commit 91f3342
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import no.nav.folketrygdloven.kalkulator.modell.beregningsgrunnlag.BeregningsgrunnlagDto;
import no.nav.folketrygdloven.kalkulator.modell.beregningsgrunnlag.BeregningsgrunnlagPrStatusOgAndelDto;
import no.nav.folketrygdloven.kalkulator.modell.iay.InntektsmeldingDto;
import no.nav.folketrygdloven.kalkulus.kodeverk.AndelKilde;

public class ArbeidstakerUtenInntektsmeldingTjeneste {

Expand All @@ -24,6 +25,7 @@ public static Collection<BeregningsgrunnlagPrStatusOgAndelDto> finnArbeidstakerA
.getBeregningsgrunnlagPrStatusOgAndelList()
.stream()
.filter(a -> a.getAktivitetStatus().erArbeidstaker() && a.getArbeidsgiver().isPresent())
.filter(a-> AndelKilde.PROSESS_START.equals(a.getKilde()))
.filter(a -> inntektsmeldinger.stream().noneMatch(im -> a.gjelderInntektsmeldingFor(im.getArbeidsgiver(), im.getArbeidsforholdRef())))
.collect(Collectors.toList());

Expand Down

0 comments on commit 91f3342

Please sign in to comment.