Skip to content

Commit

Permalink
fix: show rejected in archive (HL-1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjturt committed Dec 7, 2023
1 parent faa899c commit 0b3d4ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def status(self, request, pk=None):

if new_status in [
ApplicationBatchStatus.SENT_TO_TALPA,
ApplicationBatchStatus.DECIDED_REJECTED,
]:
# Archive all applications if this batch will be completed
Application.objects.filter(batch=batch).update(archived=True)
Expand Down

0 comments on commit 0b3d4ec

Please sign in to comment.