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

Innsatsbehovsendring på en avtale må lagres ved godkjenning #1261

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

d142796
Copy link
Contributor

@d142796 d142796 commented Jan 28, 2025

No description provided.

Co-authored-by: Mickel Hoang <mickel.hoang@nav.no>
@d142796 d142796 requested a review from sindredl January 28, 2025 14:49
avtale.forlengAvtale(sluttDato, getIdentifikator());
}

protected void oppdatereEnheterEtterForespørsel(Avtale avtale) {
final PdlRespons persondata = this.hentPersonDataForOpprettelseAvAvtale(avtale);
this.sjekkOgHentOppfølgingStatus(avtale, veilarboppfolgingService);
this.oppdaterOppfølgningsStatusForAvtale(avtale); // TODO: Fjern denne slik at veileder kan oppdatere enhet uten å oppdatere oppfolgingstatus
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -319,8 +319,9 @@ private PdlRespons hentPersondata(Fnr deltakerFnr) {
return persondata;
}

public void sjekkOgHentOppfølgingStatus(Avtale avtale, VeilarboppfolgingService veilarboppfolgingService) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

metoden heter hent men returnerer ikke noe -> endret derfor metodenavn til oppdatere

Copy link
Contributor

@eirikv eirikv Jan 29, 2025

Choose a reason for hiding this comment

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

Den sjekker og om oppfølgingen er gyldig, så kanskje sjekkOgOppdaterOppfølgningsstatus? 🤔

…i Veileder.java som gjenspeiler hva metoden gjør
Copy link
Contributor

@sindredl sindredl left a comment

Choose a reason for hiding this comment

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

Det eneste jeg hang meg litt opp i er at vi ved godkjenning også lagrer oppfølgingsenhet, men jeg tror ikke det gjør noe.. 👍

@d142796 d142796 merged commit 7b700aa into master Feb 4, 2025
3 checks passed
@d142796 d142796 deleted the lagre_ved_godkjenning_innsatsbehovendringer branch February 4, 2025 07:49
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.

None yet

3 participants