Skip to content

Commit

Permalink
fix: show rejected in archive (HL-1039) (#2588)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjturt authored Dec 15, 2023
1 parent e044f9b commit b1fd901
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 b1fd901

Please sign in to comment.