treat 'Approval' as synonym for 'Approved'

This commit is contained in:
Mateusz Konieczny 2022-11-05 08:42:17 +01:00
parent d67abd4cc8
commit 2ed84f1148

View File

@ -161,7 +161,7 @@ def process_status(status, decision_date):
status = "Rejected"
if status == "Appeal Received":
status = "Appeal In Progress"
if status in ["Completed", "Allowed"]:
if status in ["Completed", "Allowed", "Approval"]:
status = "Approved"
if status in [None, "NOT_MAPPED"]:
status = "Unknown"