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" status = "Rejected"
if status == "Appeal Received": if status == "Appeal Received":
status = "Appeal In Progress" status = "Appeal In Progress"
if status in ["Completed", "Allowed"]: if status in ["Completed", "Allowed", "Approval"]:
status = "Approved" status = "Approved"
if status in [None, "NOT_MAPPED"]: if status in [None, "NOT_MAPPED"]:
status = "Unknown" status = "Unknown"