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-4555: Endrer adresse for brev ved bosatt utland #965

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

henrikg
Copy link
Contributor

@henrikg henrikg commented Oct 10, 2024

Avhengig av endringer i brev-api også for å sende over bosattUtland.

@henrikg henrikg requested review from a team as code owners October 10, 2024 07:13
showIf(utland) {
paragraph {
Copy link
Contributor Author

@henrikg henrikg Oct 10, 2024

Choose a reason for hiding this comment

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

Dette er nesten likt det som finnes i common.Postadresse bortsett fra avstand mellom linjene. Må sjekke opp om det kan gjøres likt for å unngå duplisering her.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hvis jeg ikke husker helt feil, så er var det noe problem med å få ting på riktig linje i redigerbare brev og at det derfor er gjort slik. Mulig du burde spørre @EspenSchei om det, da jeg tror han satt med det.

) : FerdigstillingBrevDTO
val bosattUtland: Boolean = false,
) : FerdigstillingBrevDTO {
val informasjonOmOmstillingsstoenadData = InformasjonOmOmstillingsstoenadData(tidligereFamiliepleier, bosattUtland)
Copy link
Contributor Author

@henrikg henrikg Oct 10, 2024

Choose a reason for hiding this comment

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

Eneste måten jeg ser for å "bundle" to parametere sammen og så sende dem til et vedlegg som brukes på tvers av ulike brev/dto'er. Alternativet som er gjort en del andre steder hadde vært å ha mange ulike includes, men det ser jeg som en enda kjipere løsning her

Copy link
Contributor

Choose a reason for hiding this comment

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

Dette er en mye bedre løsning!

Copy link
Contributor

@emilps emilps left a comment

Choose a reason for hiding this comment

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

Looks good!

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