-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Endre tekst for manglende inntektsmelding og forelagte opplysninger (…
…Dev) (#474)
- Loading branch information
Showing
20 changed files
with
331 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/main/kotlin/no/nav/helse/flex/varseltekst/VarselTekst.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package no.nav.helse.flex.varseltekst | ||
|
||
import no.nav.helse.flex.util.norskDateFormat | ||
import java.time.LocalDate | ||
|
||
fun skapVenterPåInntektsmelding15Tekst( | ||
orgnavn: String, | ||
startSyketilfelle: LocalDate, | ||
): String = | ||
"Status for sykefraværet som startet ${startSyketilfelle.formater()}: " + | ||
"Vi venter på inntektsmelding fra $orgnavn." | ||
|
||
fun skapVenterPåInntektsmelding28Tekst( | ||
orgnavn: String, | ||
startSyketilfelle: LocalDate, | ||
): String = | ||
"Status for sykefraværet som startet ${startSyketilfelle.formater()}: " + | ||
"Saksbehandlingen er forsinket fordi vi fortsatt venter på inntektsmelding fra $orgnavn." | ||
|
||
fun skapForsinketSaksbehandling28Tekst(startSyketilfelle: LocalDate): String { | ||
@Suppress("ktlint:standard:max-line-length") | ||
return "Status for sykefraværet som startet ${startSyketilfelle.formater()}: " + | ||
"Behandlingen av søknaden din om sykepenger tar lengre tid enn forventet. Vi beklager eventuelle ulemper dette medfører. Se vår oversikt over forventet saksbehandlingstid." | ||
} | ||
|
||
fun skapRevarselForsinketSaksbehandlingTekst(startSyketilfelle: LocalDate): String { | ||
@Suppress("ktlint:standard:max-line-length") | ||
return "Status for sykefraværet som startet ${startSyketilfelle.formater()}: " + | ||
"Saksbehandling tar lengre tid enn forventet. Søknaden vil forhåpentligvis være ferdigbehandlet innen 4 uker. Vi beklager eventuelle ulemper dette medfører." | ||
} | ||
|
||
fun skapForelagteOpplysningerTekst(startSyketilfelle: LocalDate): String = | ||
"Status for sykefraværet som startet ${startSyketilfelle.formater()}: " + | ||
"Vi har hentet opplysninger om inntekten din fra a-ordningen. Vi trenger at du sjekker om de stemmer." | ||
|
||
internal fun LocalDate.formater(): String? = this.format(norskDateFormat) | ||
|
||
const val SAKSBEHANDLINGSTID_URL = "https://www.nav.no/saksbehandlingstider#sykepenger" |
44 changes: 0 additions & 44 deletions
44
src/main/kotlin/no/nav/helse/flex/varseltekst/VenterPaaInntektsmelding.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.