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

Returner kvittering basert på skjema til frontend #817

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjerga
Copy link
Contributor

@bjerga bjerga commented Dec 23, 2024

Vi ønsker å returnere en kvittering til frontend som matcher hva frontend sender inn. Ved å returnere skjema istedenfor inntektsmelding så viser vi også hva AG faktisk har sendt inn, i motsetning til inntektsmelding, der backend har vasket dataene før lagring.

@bjerga bjerga requested a review from a team as a code owner December 23, 2024 14:13
@bjerga
Copy link
Contributor Author

bjerga commented Dec 23, 2024

Testet OK.

skjema ?: inntektsmelding?.let {
SkjemaInntektsmelding(
forespoerselId = forespoerselId,
avsenderTlf = it.telefonnummer.orEmpty(),

Choose a reason for hiding this comment

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

Telefonnr. kommer også i "avsender". Den passer vel bedre inn der?

Copy link
Contributor Author

@bjerga bjerga Dec 27, 2024

Choose a reason for hiding this comment

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

Hvilken "avsender" tenker du på?

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