Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion queue_services/business-emailer/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "business-emailer"
version = "0.1.19"
version = "0.1.20"
description = "This module is the service worker for sending emails about entity related events."
authors = ["Hrvoje Fekete <hrvoje.fekete@mindpoweredtech.com>"]
license = "BSD-3-Clause"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def process(email_info: dict, token: str) -> dict | None:
if filing_type == "agmLocationChange":
subject = f"{business_name} - {filing_name} approved"
elif filing_type in ["consentAmalgamationOut", "consentContinuationOut"]:
subject = f"{business_name} - {filing_name_short} Granted"
subject = f"{business_name} - {filing_name_short}"
elif filing_type == "changeOfReceivers":
subject = f"{business_name} - Confirmation of Receiver Change"
elif filing_type == "noticeOfWithdrawal":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---

[[business-tombstone-out-filing.md]]
[[business-tombstone.md]]

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,3 @@
**Effective Until:** {{ consent_expiry_date }}
{% endif -%}
**New Jurisdiction:** {{ new_jurisdiction }}
{% if out_date and filing_type == 'amalgamationOut' -%}
**Amalgamate Out Effective Date:** {{ out_date }}
{% elif out_date and filing_type == 'continuationOut' -%}
**Continue Out Effective Date:** {{ out_date }}
{% endif %}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Your business {{ business_name }} - {{ business_identifier }} has been made historical in British Columbia as of {{ out_date }} after having successfully {{ out_action }} into {{ new_jurisdiction }} under the name {{ out_name | upper }}.
## Details
{{ business_name }} - {{ business_identifier }} has been made **historical** in British Columbia as of {{ out_date }} after having successfully {{ out_action }} into {{ new_jurisdiction }} under the name {{ out_name | upper }}.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---

[[business-tombstone-out-filing.md]]
[[business-tombstone.md]]

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def test_maintenance_filing_attachments(session, config, mock_recipients, mock_u
None,
'COMPLETED',
'Your request for consent to amalgamate out of B.C. has been granted for 6 months',
'test business - Consent to Amalgamate Out Granted',
'test business - Consent to Amalgamate Out',
[
'**Effective Until:** October 30, 2025',
'**New Jurisdiction:** Alberta, Canada',
Expand All @@ -807,9 +807,9 @@ def test_maintenance_filing_attachments(session, config, mock_recipients, mock_u
'You have successfully amalgamated out of B.C.',
'test business - Successful Amalgamation Out',
[
'**New Jurisdiction:** Alberta, Canada',
'**Amalgamate Out Effective Date:** April 29, 2025',
'made historical in British Columbia as of April 29, 2025',
'**Filed Date and Time:**',
'## Details',
'test business - BC1234567 has been made **historical** in British Columbia as of April 29, 2025',
'successfully completed its amalgamation into Alberta, Canada',
'under the name NEW TEST BUSINESS',
],
Expand All @@ -819,7 +819,7 @@ def test_maintenance_filing_attachments(session, config, mock_recipients, mock_u
None,
'COMPLETED',
'Your request for consent to continue out of B.C. has been granted for 6 months',
'test business - Consent to Continue Out Granted',
'test business - Consent to Continue Out',
[
'**Effective Until:** October 30, 2025',
'**New Jurisdiction:** Alberta, Canada',
Expand All @@ -835,9 +835,10 @@ def test_maintenance_filing_attachments(session, config, mock_recipients, mock_u
'You have successfully continued out of B.C.',
'test business - Successful Continuation Out',
[
'**New Jurisdiction:** Alberta, Canada',
'**Continue Out Effective Date:** April 29, 2025',
'made historical in British Columbia as of April 29, 2025',
'**Filed Date and Time:**',
'## Details',
'test business - BC1234567 has been made **historical** in British Columbia as of April 29, 2025',
'successfully continued into Alberta, Canada',
'under the name NEW TEST BUSINESS',
],
),
Expand Down
Loading