Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22368 Emailer - Add letter attachment to stage 1 AR email #2865

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

chenhongjing
Copy link
Collaborator

@chenhongjing chenhongjing commented Jul 29, 2024

Issue #: /bcgov/entity#22368

Description of changes:

Testing
Note that my local testing is based on v2 of legal-api, and the email file can be downloaded at MailHog.

  • overdue AR without EP registration
    image

  • overdue AR with EP registration
    image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@chenhongjing chenhongjing self-assigned this Jul 29, 2024
@@ -85,7 +92,7 @@ def get_extra_provincials(response: dict):
name = jurisdiction.get('name')
if name:
extra_provincials.append(name)

extra_provincials.sort()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add sorting so that the order presented in email will match the design.

Signed-off-by: Hongjing Chen <[email protected]>
Copy link

Copy link
Collaborator

@kzdev420 kzdev420 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@argush3 argush3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. thanks for updating the q_cli.py too!

@chenhongjing chenhongjing merged commit bec061b into bcgov:main Jul 29, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants