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-4381-forbedringer-foreldreloes #6699

Merged
merged 11 commits into from
Jan 8, 2025
Merged

Conversation

tvsignal
Copy link
Contributor

@tvsignal tvsignal commented Jan 2, 2025

No description provided.

@tvsignal tvsignal marked this pull request as ready for review January 2, 2025 09:54
@tvsignal tvsignal requested a review from a team as a code owner January 2, 2025 09:54
@@ -240,3 +244,10 @@ class ManglerBrevutfall(
detail = "Behandling mangler brevutfall, som er påkrevd. Legg til dette ved å lagre Valg av utfall i brev.",
meta = mapOf("behandlingId" to behandlingId.toString()),
)

// TODO Fjern når alle beregninger på åpne behandlinger er gjort med harForeldreloessats
Copy link
Contributor

Choose a reason for hiding this comment

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

Er det en jira å koble den på?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tenker du bare for å kunne se hva som innførte TODOen eller en Jira for å huske på å få fjerna det?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes

@@ -0,0 +1 @@
ALTER TABLE beregningsperiode ADD COLUMN har_foreldreloessats BOOLEAN;
Copy link
Contributor

Choose a reason for hiding this comment

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

Vil denne default være false? Hva med de som allerede finnes, må vi gjøre noe migrering for disse?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Default null. Og de ikke-åpne behandlingene henter vi bare PDF-en til, får jeg høre. Ingen grunn til å generere innholdet på nytt. Legger inn en sjekk ved generering av innhold eller PDF at det nye flagget ikke er null. Hvis så må man beregne på nytt.

…r ikke foreldreløssats satt på beregningsperiode. Valideringav utbetalingsinfo endres for å tillate det.
…s-flagget satt med harForeldreloessats = erForeldreloes i minnet, før sending til brevbaker. Fjerner unødvendig parameter til opprettingen av BarnepensjonBeregning.
…foreldreloes

# Conflicts:
#	apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/model/bp/BarnepensjonInnvilgelse.kt
#	apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/model/bp/BarnepensjonInnvilgelseForeldreloes.kt
…foreldreloes

# Conflicts:
#	apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/model/bp/BarnepensjonRevurdering.kt
#	apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/varselbrev/BrevDataMapperFerdigstillVarsel.kt
…foreldreloes

# Conflicts:
#	apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/varselbrev/VarselbrevRoute.kt
@tvsignal tvsignal merged commit d641fda into main Jan 8, 2025
23 checks passed
@tvsignal tvsignal deleted the EY-4381-forbedringer-foreldreloes branch January 8, 2025 14:00
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.

3 participants