Skip to content

Commit

Permalink
Legg til eget felt på om avklaringen er løst maskinelt
Browse files Browse the repository at this point in the history
Co-authored-by: Tonje Mjøvik Myran <[email protected]>
Co-authored-by: Mette Wendy Lindberg Gulbrandsen <[email protected]>
  • Loading branch information
3 people committed Dec 20, 2024
1 parent 58eb474 commit f1d3d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ internal fun Avklaring.tilAvklaringDTO(): AvklaringDTO {
is Avklaring.Endring.Avklart -> AvklaringDTO.Status.Kvittert
is Avklaring.Endring.UnderBehandling -> AvklaringDTO.Status.Åpen
},
maskinelt = saksbehandler == null,
begrunnelse = sisteEndring?.begrunnelse,
kvittertAv = saksbehandler,
)
Expand Down
2 changes: 2 additions & 0 deletions openapi/src/main/resources/behandling-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ components:
status:
type: string
enum: [ "Åpen", "Løst", "Kvittert" ]
maskinelt:
type: boolean
begrunnelse:
type: string
kvittertAv:
Expand Down

0 comments on commit f1d3d9a

Please sign in to comment.