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

FAGSYSTEM-375364 hindrer at tekniske fri utsettelser(uten mors aktivi… #401

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

palfi
Copy link
Contributor

@palfi palfi commented Mar 27, 2025

…tet), der saksbehandler ikke har gjort en dokvurdering, innvilges automatisk basert på mors arbeid fra register

Skal se i db om det gjelder flere saker

@palfi palfi requested a review from jolarsen March 27, 2025 10:29
@palfi palfi requested a review from a team as a code owner March 27, 2025 10:29
@@ -27,7 +28,7 @@ public SjekkOmMorErIAktivitet() {
public Evaluation evaluate(FastsettePeriodeGrunnlag grunnlag) {
var aktuellPeriode = grunnlag.getAktuellPeriode();
var dokumentasjonVurdering = aktuellPeriode.getDokumentasjonVurdering();
if (dokumentasjonVurdering == null) {
if (dokumentasjonVurdering == null && MorsAktivitet.ARBEID.equals(aktuellPeriode.getMorsAktivitet())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det bør ikke gjøre noen forskjell, men skulle det vært
if (dokumentasjonVurdering == null) {
return MorsAktivitet.ARBEID.equals(aktuellPeriode.getMorsAktivitet()) && grunnlag.getAktivitetskravGrunnlag().map(ag -> merEllerLik75Stilling(ag, aktuellPeriode)).orElse(false) ? ja() : nei();

…tet), der saksbehandler ikke har gjort en dokvurdering, innvilges automatisk basert på mors arbeid fra register
@palfi palfi force-pushed the feature/FAGSYSTEM-375364 branch from d51d307 to fed5e26 Compare March 28, 2025 08:38
@palfi palfi merged commit 2c9dfe0 into master Mar 28, 2025
2 of 3 checks passed
@palfi palfi deleted the feature/FAGSYSTEM-375364 branch March 28, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants