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

Issue #144: Added text about the possibility of editing an invoice parameters #150

Conversation

lilliputten
Copy link
Collaborator

I'm not sure if I understood the task correctly: I've added the text about the possibility of editing an invoice parameters into membership and event registration email texts. But I see a mention of PDF in the task, so probably these texts should be added to the generated pdf?

See questions about other unclear tasks (#140, #141, #142) in the messenger.

Now these emails look this way:

2024-04-09-01-07-25

See also just created #149 (Refactor hard-coded email messages as template files).

Other minor tasks have done:

  • Found some other unused templates (membership_payment_receipt_message_*.txt).
  • Added settings value DEFAULT_FROM_EMAIL, should be used as feedback email address in templates.
  • Minor changes for hard-coded email texts (added double line breaks to increase readability).
  • Added simple support for html email messages (with parameter is_html).
  • Used standard namings for url modules (*_urls.py).

@lilliputten lilliputten linked an issue Apr 8, 2024 that may be closed by this pull request
@lilliputten lilliputten requested a review from cmutel April 8, 2024 18:18
@lilliputten lilliputten self-assigned this Apr 8, 2024
@@ -30,14 +30,13 @@ def send_email(
plain_text_content=message,
)
if is_html:
# TODO
raise ValueError
message.html_content = message
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

@cmutel cmutel merged commit 2467460 into main Apr 8, 2024
0 of 5 checks passed
@cmutel cmutel deleted the 144-include-language-that-pdf-invoice-details-can-be-changed-in-email branch April 8, 2024 20:18
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.

Include language that PDF invoice details can be changed in email
2 participants