Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into chore/dev_environments
Browse files Browse the repository at this point in the history
# Conflicts:
#	pom.xml
  • Loading branch information
ugur93 committed Oct 4, 2024
2 parents 73d5f42 + b59816a commit 14c6c89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<properties>
<java.version>21</java.version>
<kotlin.version>2.0.20</kotlin.version>
<bidrag-felles.version>2024.10.03.151548</bidrag-felles.version>
<bidrag-felles.version>2024.10.04.095225</bidrag-felles.version>
<bidrag-beregn-felles.version>2024.10.03.143256</bidrag-beregn-felles.version>
<h2.version>2.3.232</h2.version>
<logback-encoder.version>8.0</logback-encoder.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import no.nav.bidrag.behandling.transformers.behandling.hentBeregnetInntekterFor
import no.nav.bidrag.behandling.transformers.behandling.notatTittel
import no.nav.bidrag.behandling.transformers.behandling.tilReferanseId
import no.nav.bidrag.behandling.transformers.ekskluderYtelserFørVirkningstidspunkt
import no.nav.bidrag.behandling.transformers.erHistorisk
import no.nav.bidrag.behandling.transformers.inntekt.bestemOpprinneligTomVisningsverdi
import no.nav.bidrag.behandling.transformers.nærmesteHeltall
import no.nav.bidrag.behandling.transformers.sorterEtterDato
Expand Down Expand Up @@ -469,6 +470,7 @@ private fun Inntekt.tilNotatInntektDto() =
?.let { gjelderBarn ->
behandling?.roller?.find { it.ident == gjelderBarn }
}?.tilNotatRolle(),
historisk = erHistorisk(behandling!!.inntekter),
inntektsposter =
inntektsposter
.map {
Expand Down Expand Up @@ -509,7 +511,7 @@ private fun Behandling.hentInntekterForIdent(
},
årsinntekter =
inntekter
.årsinntekterSortert(!filtrerBareOffentlige)
.årsinntekterSortert(!filtrerBareOffentlige, true)
.inntekterForIdent(ident)
.ekskluderYtelserFørVirkningstidspunkt()
.filtrerKilde(filtrerBareOffentlige)
Expand Down

0 comments on commit 14c6c89

Please sign in to comment.