From b52239479d5e557dffe5f1d11b2cecdfa39cb13e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Tue, 18 Jul 2023 11:56:18 +0900
Subject: [PATCH] allow contracts to be returned for editing

---
 contracts/forms.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contracts/forms.py b/contracts/forms.py
index 166f541..935d34d 100644
--- a/contracts/forms.py
+++ b/contracts/forms.py
@@ -80,6 +80,7 @@ class ContractAdminForm(forms.ModelForm):
                         if choice_key in (
                             Contract.StatusTypes.APPROVED,
                             Contract.StatusTypes.REJECTED,
+                            Contract.StatusTypes.WORK_IN_PROGRESS
                         ):
                             allowed_choices.append(
                                 (
-- 
GitLab