include coupon comment in the notification
This commit is contained in:
parent
4fc6619553
commit
2fad942c95
|
@ -45,7 +45,7 @@ def lifetime_licence():
|
||||||
# notify admin
|
# notify admin
|
||||||
send_email(
|
send_email(
|
||||||
ADMIN_EMAIL,
|
ADMIN_EMAIL,
|
||||||
subject=f"User {current_user} used lifetime coupon. Coupon nb_used: {coupon.nb_used}",
|
subject=f"User {current_user} used lifetime coupon({coupon.comment}). Coupon nb_used: {coupon.nb_used}",
|
||||||
plaintext="",
|
plaintext="",
|
||||||
html="",
|
html="",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue