From ba4c33f7aff620acc1f44895a843ef05a4288062 Mon Sep 17 00:00:00 2001 From: Kial Date: Wed, 27 Sep 2023 17:29:42 -0700 Subject: [PATCH] colin-api: good standing is false if in LIQ, LRL or LRS (#2207) Signed-off-by: Kial Jinnah --- colin-api/src/colin_api/models/business.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/colin-api/src/colin_api/models/business.py b/colin-api/src/colin_api/models/business.py index 037f67c9fc..d471072bba 100644 --- a/colin-api/src/colin_api/models/business.py +++ b/colin-api/src/colin_api/models/business.py @@ -688,10 +688,10 @@ def is_in_good_standing(business: dict, cursor) -> Optional[bool]: # good standing is irrelevant to non active and nwpta businesses return None if business['corp_class'] in ['BC'] or business['corp_typ_cd'] in ['LLC', 'LIC', 'A', 'B']: - if business.get('state_typ_cd') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T']: - # Dissolution state is not in good standing - # - updates into this state occur irregularly via batch job - # - updates out of this state occur immediately when filing is processed + if business.get('state_typ_cd') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T', 'LIQ', 'LRL', 'LRS']: + # Dissolution state or Liquidation or Limited Restoration or is NOT in good standing + # - updates into Dissolution states occur irregularly via batch job + # - updates out of these states occur immediately when filing is processed # (can rely on this for a business being NOT in good standing only) return False