-
Notifications
You must be signed in to change notification settings - Fork 69
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
21560 - EFT Payment reminder template updates #2991
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
18 changes: 12 additions & 6 deletions
18
..._services/account-mailer/src/account_mailer/email_templates/payment_due_notification.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
18 changes: 12 additions & 6 deletions
18
...ices/account-mailer/src/account_mailer/email_templates/payment_reminder_notification.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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
# Payment Reminder | ||
# Payment Reminder for {{ account_number }}: {{ account_name_with_branch }} | ||
|
||
## {{ account_number }}: {{ account_name_with_branch }} | ||
{% if short_name_links_count > 1 %} | ||
There's an amount owing on your account for your {{ statement_month }} statement (#{{ statement_number }}). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
{% else %} | ||
There's an amount owing of {{ total_amount_owing }} on your account for your {{ statement_month }} statement (#{{ statement_number }}). | ||
{% endif %} | ||
|
||
There's an amount owing on your recent statement due on {{ due_date }}. | ||
{% if short_name_links_count > 1 %} | ||
Please settle your remaining balance before {{ due_date }}. This will help ensure the smooth processing of your account and services. | ||
{% else %} | ||
If you've made a payment recently, please verify that you've paid the full amount indicated on your statement and settle any remaining balance by {{ due_date }}. This will help ensure the smooth processing of your account and services. | ||
{% endif %} | ||
|
||
[Log in to view your {{ statement_frequency }} statement]({{ payment_statement_url }}) | ||
|
||
If you've recently made a payment, please disregard this message. | ||
[Log in to view your {{ statement_frequency }} statements]({{ payment_statement_url }}) | ||
|
||
**Business Registry** | ||
BC Registries and Online Services | ||
|
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
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 |
---|---|---|
|
@@ -489,7 +489,10 @@ def test_payment_reminder_notification_email(app, session, client): | |
'dueDate': '2023-09-15 00:00:00', | ||
'emailAddresses': '[email protected]', | ||
'statementFrequency': 'MONTHLY', | ||
'totalAmountOwing': 351.5 | ||
'statementMonth': 'August', | ||
'statementNumber': 12345, | ||
'totalAmountOwing': 351.5, | ||
'shortNameLinksCount': 1 | ||
} | ||
helper_add_event_to_queue(client, | ||
message_type=QueueMessageTypes.PAYMENT_REMINDER_NOTIFICATION.value, | ||
|
@@ -513,7 +516,10 @@ def test_payment_due_notification_email(app, session, client): | |
'dueDate': '2023-09-15 00:00:00', | ||
'emailAddresses': '[email protected]', | ||
'statementFrequency': 'MONTHLY', | ||
'totalAmountOwing': 351.5 | ||
'statementMonth': 'August', | ||
'statementNumber': 12345, | ||
'totalAmountOwing': 351.5, | ||
'shortNameLinksCount': 1 | ||
} | ||
helper_add_event_to_queue(client, | ||
message_type=QueueMessageTypes.PAYMENT_DUE_NOTIFICATION.value, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it possible to combine these a bit more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly, I prefer the whole sentence rather trying to combine fragments though when we have to modify it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, then you'll be modifying it twice if the base sentence needs to change