-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22363 Continuation in email templates (#2946)
* - added attachment for RESUBMITTED continuation in - added subjects for other statuses/options - created APPROVED email template - created CHANGE_REQUESTED email template - created REJECTED email template - created RESUBMITTED email template * - added latest_review_comment template variable - updated Rejected template * - removed debugging code * - sorted subject if-else conditions - expanded continuation in tests * - updated unit test * - used "in" to reduce duplication --------- Co-authored-by: Severin Beauvais <[email protected]>
- Loading branch information
1 parent
d45d405
commit 5a14c84
Showing
6 changed files
with
336 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
queue_services/entity-emailer/src/entity_emailer/email_templates/CONT-IN-APPROVED.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base href="/"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="referrer" content="origin-when-cross-origin"/> | ||
<meta name="author" content="BC Registries and Online Services"> | ||
<title>Results of your Continuation Application</title> | ||
[[style.html]] | ||
</head> | ||
|
||
<body> | ||
<table class="body-table" role="presentation"> | ||
<tr> | ||
<td> | ||
[[header.html]] | ||
|
||
<div class="container"> | ||
<!-- first section --> | ||
<p class="title-message bold">Results of your Continuation Application</p> | ||
|
||
<p>Your Continuation Authorization is <span class="bold">approved</span>.</p> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- second section --> | ||
<p class="title-message bold">Your Next Steps</p> | ||
|
||
<ol class="outputs"> | ||
<li>Receive confirmation that your business has been continued in.</li> | ||
<li>Visit <a href="{{ entity_dashboard_url }}">BC Business Registry account</a> to access | ||
your business.</li> | ||
</ol> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- third section --> | ||
[[continuation-application-details.html]] | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- fourth section --> | ||
<p class="title-message bold">Attached to this Email</p> | ||
|
||
<p>The following document is attached to this email:</p> | ||
<ul class="outputs"> | ||
<li>Continuation Application</li> | ||
</ul> | ||
|
||
[[business-dashboard-link.html]] | ||
|
||
<!-- fifth section --> | ||
[[24px.html]] | ||
[[footer.html]] | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
56 changes: 56 additions & 0 deletions
56
..._services/entity-emailer/src/entity_emailer/email_templates/CONT-IN-CHANGE_REQUESTED.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base href="/"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="referrer" content="origin-when-cross-origin"/> | ||
<meta name="author" content="BC Registries and Online Services"> | ||
<title>Results of your Continuation Application</title> | ||
[[style.html]] | ||
</head> | ||
|
||
<body> | ||
<table class="body-table" role="presentation"> | ||
<tr> | ||
<td> | ||
[[header.html]] | ||
|
||
<div class="container"> | ||
<!-- first section --> | ||
<p class="title-message bold">Results of your Continuation Application</p> | ||
|
||
<p>Your Continuation Authorization is <span class="bold">not yet approved</span>. Follow | ||
the steps below to modify and resubmit your application.</p> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- second section --> | ||
<p class="title-message bold">Your Next Steps</p> | ||
|
||
<p>Follow these steps to complete your application:</p> | ||
<ol class="outputs"> | ||
<li>Visit <a href="{{ entity_dashboard_url }}">BC Business Registry account</a>.</li> | ||
<li>Modify the application to satisfy the request from staff as described below:</li> | ||
</ol> | ||
|
||
<pre class="bold">{{ latest_review_comment }}</pre> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- third section --> | ||
[[continuation-application-details.html]] | ||
|
||
<!-- fourth section --> | ||
[[24px.html]] | ||
[[footer.html]] | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
71 changes: 71 additions & 0 deletions
71
queue_services/entity-emailer/src/entity_emailer/email_templates/CONT-IN-REJECTED.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base href="/"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="referrer" content="origin-when-cross-origin"/> | ||
<meta name="author" content="BC Registries and Online Services"> | ||
<title>Results of your Continuation Application</title> | ||
[[style.html]] | ||
</head> | ||
|
||
<body> | ||
<table class="body-table" role="presentation"> | ||
<tr> | ||
<td> | ||
[[header.html]] | ||
|
||
<div class="container"> | ||
<!-- first section --> | ||
<p class="title-message bold">Results of your Continuation Application</p> | ||
|
||
<p>Your Continuation Authorization is <span class="bold">rejected</span> and a refund request | ||
has been submitted. The refund will be applied to your original payment method. Refunds | ||
are usually processed within 10-14 business days.</p> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- second section --> | ||
<p class="title-message bold">Your Next Steps</p> | ||
|
||
<ol class="outputs"> | ||
<li>Review the reasons for rejected as outlined below:</li> | ||
<pre class="bold">{{ latest_review_comment }}</pre> | ||
<li>Visit <a href="{{ entity_dashboard_url }}">BC Business Registry account</a> to submit | ||
a new Continuation Application.</li> | ||
</ol> | ||
|
||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- third section --> | ||
[[continuation-application-details.html]] | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- fourth section --> | ||
<p class="title-message bold">Attached to this Email</p> | ||
|
||
<p>The following document is attached to this email:</p> | ||
<ul class="outputs"> | ||
<li>Continuation Application - Rejected</li> | ||
</ul> | ||
|
||
[[business-dashboard-link.html]] | ||
|
||
<!-- fifth section --> | ||
[[24px.html]] | ||
[[footer.html]] | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
65 changes: 65 additions & 0 deletions
65
queue_services/entity-emailer/src/entity_emailer/email_templates/CONT-IN-RESUBMITTED.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<base href="/"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="referrer" content="origin-when-cross-origin"/> | ||
<meta name="author" content="BC Registries and Online Services"> | ||
<title>Confirmation of Filing from the Business Registry</title> | ||
[[style.html]] | ||
</head> | ||
|
||
<body> | ||
<table class="body-table" role="presentation"> | ||
<tr> | ||
<td> | ||
[[header.html]] | ||
|
||
<div class="container"> | ||
<!-- first section --> | ||
<p class="title-message bold">We have received your updated Continuation Application</p> | ||
|
||
<p>BC Registries will review your Continuation Authorization documents and contact you | ||
with the results within 2 business days.</p> | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- second section --> | ||
[[continuation-application-details.html]] | ||
|
||
[[20px.html]] | ||
[[divider.html]] | ||
[[20px.html]] | ||
|
||
<!-- third section --> | ||
<p class="title-message bold">Attached to this Email</p> | ||
|
||
<p>The following document id attached to this email:</p> | ||
<ul class="outputs"> | ||
<li>Continuation Application - Pending</li> | ||
</ul> | ||
|
||
[[business-dashboard-link.html]] | ||
[[8px.html]] | ||
|
||
<p> | ||
Once your authorization has been approved, your business will be registered and you will | ||
receive the following outputs: | ||
</p> | ||
<ul class="outputs"> | ||
<li>Notice of Articles</li> | ||
<li>Certificate of Continuation</li> | ||
</ul> | ||
|
||
<!-- fourth section --> | ||
[[24px.html]] | ||
[[footer.html]] | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
Oops, something went wrong.