Skip to content

Commit

Permalink
Nå begynner denne meldingen å bli veldig så flott
Browse files Browse the repository at this point in the history
Co-authored-by: Morten Tholander <morten.tholander@nav.no>
  • Loading branch information
hegehaav and Mort12Lander committed Mar 27, 2024
1 parent 314b00a commit 37f3642
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ internal class OppsummerVedtaksperiodeVenterExternal (
""".trimIndent()
val ventegrupper = oppsummering.groupBy { it.årsak }
ventegrupper.forEach { (gruppe, data) ->
melding += "*Noen perioder venter ${gruppe.hvem()}:* \n"
melding += "*Perioder som har ventet ${gruppe.hvem()}* \n"
data.forEach {
melding += "\t ${it.bucket.emoji()} Har ventet i ${it.bucket.lowercase()}: *${it.antall}* \n"
melding += "\t ${it.bucket.emoji()} ${it.bucket.lowercase()}: *${it.antall}* \n"
}
melding += "\n"
}
return melding
}
Expand Down

0 comments on commit 37f3642

Please sign in to comment.