working
This commit is contained in:
@@ -1343,15 +1343,15 @@ def handle_send_email_transaction(
|
||||
return 1
|
||||
|
||||
@app.task
|
||||
def handle_send_email_transaction_notification(
|
||||
username, useremail, amount, additional_text, **kwargs):
|
||||
def handle_send_email_instantplan_notification(
|
||||
username, useremail, amount, planname,startdate, enddate, **kwargs):
|
||||
|
||||
if 'debug' in kwargs: # pragma: no cover
|
||||
debug = kwargs['debug']
|
||||
else:
|
||||
debug = True
|
||||
|
||||
subject = "Rowsandall Payment Confirmation"
|
||||
subject = "Rowsandall Instant Plan Notification"
|
||||
|
||||
from_email = 'Rowsandall <admin@rowsandall.com>'
|
||||
|
||||
@@ -1359,10 +1359,12 @@ def handle_send_email_transaction_notification(
|
||||
'name': username,
|
||||
'siteurl': siteurl,
|
||||
'amount': amount,
|
||||
'reason':additional_text,
|
||||
'planname': planname,
|
||||
'startdate':startdate,
|
||||
'enddate':enddate,
|
||||
}
|
||||
|
||||
res = send_template_email(from_email,['support@rowsandall.com'],
|
||||
res = send_template_email(from_email,['roosendaalsander@gmail.com'],
|
||||
subject,
|
||||
'instantplansold.html',
|
||||
d, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user