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

feat: Add all invoice emails in system #7296

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Sep 28, 2020

u"Please pay immediately at: <a href='{payment_url}'>{payment_url}</a><br><br>"
u"Late payments can be subject to a 5% finance fee.<br><br>"
u"A detailed invoice is available in <a href='https://eventyay.com/account/billing/invoices/'>the billing area</a> of your account. If you have any questions about invoices, please find more information on our FAQ at https://support.eventyay.com.<br><br>"
u"If you feel this invoice is incorrect or have any questions, you can contact our support team for assistance.<br><br>"

Choose a reason for hiding this comment

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

line too long (132 > 90 characters)

u"Amount Due: {amount}<br><br>"
u"Please pay immediately at: <a href='{payment_url}'>{payment_url}</a><br><br>"
u"Late payments can be subject to a 5% finance fee.<br><br>"
u"A detailed invoice is available in <a href='https://eventyay.com/account/billing/invoices/'>the billing area</a> of your account. If you have any questions about invoices, please find more information on our FAQ at https://support.eventyay.com.<br><br>"

Choose a reason for hiding this comment

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

line too long (267 > 90 characters)

u"Hello {name},<br><br>"
u"Your payment is now past due.<br>Please pay this invoice immediately to avoid your account being suspended.<br><br>"
u"Amount Due: {amount}<br><br>"
u"Please pay immediately at: <a href='{payment_url}'>{payment_url}</a><br><br>"

Choose a reason for hiding this comment

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

line too long (91 > 90 characters)

'subject': u'Please pay your overdue invoice for {event_name} for {date} on {app_name}',
'message': (
u"Hello {name},<br><br>"
u"Your payment is now past due.<br>Please pay this invoice immediately to avoid your account being suspended.<br><br>"

Choose a reason for hiding this comment

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

line too long (130 > 90 characters)

},
MONTHLY_PAYMENT_POST_DUE_EMAIL: {
'recipient': 'Owner',
'subject': u'Please pay your overdue invoice for {event_name} for {date} on {app_name}',

Choose a reason for hiding this comment

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

line too long (96 > 90 characters)

u"Amount Due: {amount}<br><br>"
u"Please pay within 15 days.<br><br>"
u"Pay Now at: <a href='{payment_url}'>{payment_url}</a><br><br>"
u"A detailed invoice is available in <a href='https://eventyay.com/account/billing/invoices/'>the billing area</a> of your account. If you have any questions about invoices, please find more information on our FAQ at https://support.eventyay.com.<br><br>"

Choose a reason for hiding this comment

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

line too long (267 > 90 characters)

u"view your invoice and complete the payment to prevent loss of functionality."
u"<br><br><em>Thank you for using {app_name}.</em>"
u"Hello {name},<br><br>"
u"Just a friendly reminder that we haven't received your payment for your invoice for {event_name} for {date}. Payment is fast and simple using your credit card or PayPal account.<br><br>"

Choose a reason for hiding this comment

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

line too long (200 > 90 characters)

'recipient': 'Owner, Organizer',
'subject': u'Past Due: {date} - Monthly service fee invoice for {event_name}',
'recipient': 'Owner',
'subject': u'Reminder: Your invoice for {event_name} for {date} is available on {app_name}',

Choose a reason for hiding this comment

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

line too long (100 > 90 characters)

u"Amount Due: {amount}<br><br>"
u"Please pay within 30 days.<br><br>"
u"Pay Now at: <a href='{payment_url}'>{payment_url}</a><br><br>"
u"A detailed invoice is available in <a href='https://eventyay.com/account/billing/invoices/'>the billing area</a> of your account. If you have any questions about invoices, please find more information on our FAQ at https://support.eventyay.com.<br><br>"

Choose a reason for hiding this comment

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

line too long (267 > 90 characters)

u"view your invoice and complete the payment."
u"<br><br><em>Thank you for using {app_name}.</em>"
u"Hello {name},<br><br>"
u"The invoice for your event {event_name} on eventyay.com for {date} is now available. Your invoice payment is due within 30 days.<br><br>"

Choose a reason for hiding this comment

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

line too long (151 > 90 characters)

@auto-label auto-label bot added the feature label Sep 28, 2020
@codecov
Copy link

codecov bot commented Sep 28, 2020

Codecov Report

Merging #7296 into development will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #7296      +/-   ##
===============================================
- Coverage        63.93%   63.93%   -0.01%     
===============================================
  Files              259      259              
  Lines            13043    13033      -10     
===============================================
- Hits              8339     8332       -7     
+ Misses            4704     4701       -3     
Impacted Files Coverage Δ
app/api/helpers/system_mails.py 100.00% <ø> (ø)
app/api/helpers/system_notifications.py 100.00% <ø> (ø)
app/api/helpers/mail.py 37.39% <100.00%> (+1.33%) ⬆️
app/api/helpers/notification.py 78.57% <100.00%> (-1.65%) ⬇️
app/models/event_invoice.py 95.55% <100.00%> (+2.07%) ⬆️
app/models/mail.py 97.61% <100.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 11d9058...9c0dab3. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 0dae291 into fossasia:development Sep 28, 2020
@iamareebjamal iamareebjamal deleted the invoice-emails branch September 28, 2020 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoices: Add invoice and reminder emails to platform
2 participants