treat Dismissed as synonym to Refused

This commit is contained in:
Mateusz Konieczny 2022-11-05 08:34:35 +01:00
parent a236729e9b
commit d67abd4cc8

View File

@ -157,7 +157,7 @@ def process_status(status, decision_date):
if status in ["Application Under Consideration", "Application Received"]: if status in ["Application Under Consideration", "Application Received"]:
if decision_date == None: if decision_date == None:
status = "Submitted" status = "Submitted"
if status in ["Refused", "Refusal", "Refusal (P)", "Application Invalid", "Insufficient Fee"]: if status in ["Refused", "Refusal", "Refusal (P)", "Application Invalid", "Insufficient Fee", "Dismissed"]:
status = "Rejected" status = "Rejected"
if status == "Appeal Received": if status == "Appeal Received":
status = "Appeal In Progress" status = "Appeal In Progress"