Skip to content

Commit

Permalink
Sett status til distribuert hvis lokal utskrift (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 authored Sep 18, 2024
1 parent d4e90e7 commit 2b65e79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ data class DistribusjonsInfo(
JournalStatus.EKSPEDERT.name -> JournalpostStatus.EKSPEDERT
JournalStatus.FERDIGSTILT.name ->
if (isUtgaaendeDokument() && kanal != JournalpostKanal.INGEN_DISTRIBUSJON) {
if (isDistribusjonBestilt()) {
if (isDistribusjonBestilt() || kanal == JournalpostKanal.LOKAL_UTSKRIFT) {
JournalpostStatus.DISTRIBUERT
} else {
JournalpostStatus.KLAR_FOR_DISTRIBUSJON
Expand Down

0 comments on commit 2b65e79

Please sign in to comment.