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

Refactor payment mails #309

Draft
wants to merge 3 commits into
base: next
Choose a base branch
from
Draft

Refactor payment mails #309

wants to merge 3 commits into from

Conversation

falkecarlsen
Copy link
Member

No description provided.

@@ -353,9 +354,11 @@ def save(self, mbpayment=None, *args, **kwargs):
self.member.make_payment(self.amount)
super(Payment, self).save(*args, **kwargs)
self.member.save()
"""
if self.member.email != "" and self.amount != 0:
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove the code instead

Copy link
Member Author

Choose a reason for hiding this comment

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

Absolutely, mistakenly didn't mark this PR draft

@falkecarlsen falkecarlsen marked this pull request as draft May 18, 2022 10:42
@codecov-commenter
Copy link

Codecov Report

Merging #309 (8f03b39) into next (7a23c55) will decrease coverage by 0.05%.
The diff coverage is 68.75%.

❗ Current head 8f03b39 differs from pull request most recent head 0eb8dd8. Consider uploading reports for the commit 0eb8dd8 to get more accurate results

@@            Coverage Diff             @@
##             next     #309      +/-   ##
==========================================
- Coverage   82.86%   82.80%   -0.06%     
==========================================
  Files          31       31              
  Lines        2626     2635       +9     
  Branches      188      189       +1     
==========================================
+ Hits         2176     2182       +6     
- Misses        418      422       +4     
+ Partials       32       31       -1     
Impacted Files Coverage Δ
stregsystem/views.py 56.71% <0.00%> (ø)
stregsystem/utils.py 74.75% <50.00%> (-0.78%) ⬇️
stregsystem/models.py 88.18% <80.00%> (ø)
stregsystem/tests.py 99.79% <100.00%> (ø)

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 7a23c55...0eb8dd8. Read the comment docs.

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