Skip to content

Commit

Permalink
Sett status til distribuert hvis lokal utskrift (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 authored Sep 18, 2024
1 parent 2b65e79 commit 790e6ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ data class Journalpost(
if (hentBrevkodeDto()?.kode == "CRM_MELDINGSKJEDE") {
JournalpostStatus.JOURNALFØRT
} else if (isUtgaaendeDokument() && kanal != JournalpostKanal.INGEN_DISTRIBUSJON) {
if (isDistribusjonBestilt()) {
if (isDistribusjonBestilt() || kanal == JournalpostKanal.LOKAL_UTSKRIFT) {
JournalpostStatus.EKSPEDERT
} else {
JournalpostStatus.KLAR_FOR_DISTRIBUSJON
Expand Down

0 comments on commit 790e6ef

Please sign in to comment.