Skip to content

Commit

Permalink
Merge branch 'master' into kopierjournalpost
Browse files Browse the repository at this point in the history
  • Loading branch information
ramrock93 committed Sep 13, 2024
2 parents 23d5137 + 554299c commit 46d5f78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ internal class MapPsbTilK9Format(
pleiepengerSyktBarn.medLovbestemtFerie(LovbestemtFerie().medPerioder(k9LovbestemtFerie))
}

private fun Set<PeriodeDto>.leggTilTrekkKravPerioder() {
private fun List<PeriodeDto>.leggTilTrekkKravPerioder() {
pleiepengerSyktBarn.addAllTrekkKravPerioder(this.somK9Perioder())
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import no.nav.k9punsj.utils.objectMapper
import java.time.Duration
import java.time.LocalDate
import java.time.LocalTime
import java.util.SortedSet

data class PleiepengerSyktBarnSøknadDto(
val soeknadId: String,
Expand All @@ -39,7 +40,7 @@ data class PleiepengerSyktBarnSøknadDto(
val utenlandsoppholdV2: List<UtenlandsoppholdDtoV2> = emptyList(),
val harInfoSomIkkeKanPunsjes: Boolean,
val harMedisinskeOpplysninger: Boolean,
val trekkKravPerioder: Set<PeriodeDto> = emptySet(),
val trekkKravPerioder: List<PeriodeDto> = emptyList(),
val begrunnelseForInnsending: BegrunnelseForInnsending? = null,
val metadata: Map<*, *>? = null,
val k9saksnummer: String? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ internal object PleiepengerSøknadVisningDtoUtils {
),
harInfoSomIkkeKanPunsjes = true,
harMedisinskeOpplysninger = true,
trekkKravPerioder = setOf(requiredPeriode),
trekkKravPerioder = listOf(requiredPeriode),
begrunnelseForInnsending = BegrunnelseForInnsending().medBegrunnelseForInnsending("fordi dette er ett test")
)

Expand Down

0 comments on commit 46d5f78

Please sign in to comment.