Skip to content

Commit

Permalink
24548 Incorporator should not be ceased (bcgov#3091)
Browse files Browse the repository at this point in the history
  • Loading branch information
vysakh-menon-aot authored Nov 25, 2024
1 parent 10ecdf8 commit 514f347
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion colin-api/src/colin_api/models/corp_party.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def end_director_by_name(cls, cursor, director: Dict, event_id: int, corp_num: s
"""
update corp_party
set end_event_id=:event_id, cessation_dt=TO_DATE(:cessation_date, 'YYYY-mm-dd')
where corp_num=:corp_num
where party_typ_cd='DIR' and end_event_id is null and corp_num=:corp_num
"""
)
try:
Expand Down
3 changes: 0 additions & 3 deletions colin-api/src/colin_api/models/filing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,9 +1655,6 @@ def _process_directors(cls, cursor, filing: Filing, business: Business, corp_num
cursor=cursor, director=director, event_id=filing.event_id, corp_num=corp_num
)
changed_dirs.append(director)
Party.end_director_by_name(
cursor=cursor, director=director, event_id=filing.event_id, corp_num=corp_num
)
found_match = True
if not found_match:
raise GenericException(
Expand Down

0 comments on commit 514f347

Please sign in to comment.