Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EY-4773 - oppdatere status og merknad for oppgaver hvor omregning feilet #6575

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import no.nav.etterlatte.behandling.BehandlingService
import no.nav.etterlatte.libs.common.behandling.Revurderingaarsak
import no.nav.etterlatte.libs.common.feilhaandtering.InternfeilException
import no.nav.etterlatte.libs.common.oppgave.OppgaveType
import no.nav.etterlatte.libs.common.oppgave.Status
import no.nav.etterlatte.libs.common.sak.KjoeringDistEllerIverksattRequest
import no.nav.etterlatte.libs.common.sak.KjoeringRequest
import no.nav.etterlatte.libs.common.sak.KjoeringStatus
Expand Down Expand Up @@ -51,6 +52,7 @@ class OmregningService(
?: throw InternfeilException("Kan ikke eksistere en INNTEKTSENDRING uten oppgave")

if (oppgave.saksbehandler?.navn == Fagsaksystem.EY.navn) {
oppgaveService.oppdaterStatusOgMerknad(oppgave.id, "Automatisk behandling feilet - må behandles manuelt", Status.UNDER_BEHANDLING)
oppgaveService.fjernSaksbehandler(oppgave.id)
}
} else {
Expand Down