Skip to content

Commit

Permalink
Rette bug i setting av status avkortet
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjodn committed Oct 30, 2024
1 parent b88af1f commit 9198b86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class AvkortingService(
) {
val opphoerSammeAar =
behandling.opphoerFraOgMed?.let { it.year == behandling.virkningstidspunkt().dato.year } ?: false
if (!opphoerSammeAar && lagretAvkorting.aarsoppgjoer.size == 2) {
if (opphoerSammeAar || lagretAvkorting.aarsoppgjoer.size == 2) {
behandlingKlient.avkort(behandling.id, brukerTokenInfo, true)
}
} else {
Expand Down

0 comments on commit 9198b86

Please sign in to comment.