Change generic payment subject and correct misplaced comma
Data Center LightConfirmation of your payment -> Confirmation of your payment
This commit is contained in:
parent
72c16713a7
commit
6c03e3f712
1 changed files with 2 additions and 3 deletions
|
@ -843,15 +843,14 @@ class OrderConfirmationView(DetailView):
|
||||||
send_plain_email_task.delay(email_data)
|
send_plain_email_task.delay(email_data)
|
||||||
|
|
||||||
email_data = {
|
email_data = {
|
||||||
'subject': (settings.DCL_TEXT +
|
'subject': _("Confirmation of your payment"),
|
||||||
"Confirmation of your payment"),
|
|
||||||
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||||
'to': [user.get('email')],
|
'to': [user.get('email')],
|
||||||
'body': _("Hi {name},\n\n"
|
'body': _("Hi {name},\n\n"
|
||||||
"thank you for your order!\n"
|
"thank you for your order!\n"
|
||||||
"We have just received a payment of CHF {amount:.2f}"
|
"We have just received a payment of CHF {amount:.2f}"
|
||||||
" from you.{recurring}\n\n"
|
" from you.{recurring}\n\n"
|
||||||
"Cheers\n,Your Data Center Light team".format(
|
"Cheers,\nYour Data Center Light team".format(
|
||||||
name=user.get('name'),
|
name=user.get('name'),
|
||||||
amount=gp_details['amount'],
|
amount=gp_details['amount'],
|
||||||
recurring=(
|
recurring=(
|
||||||
|
|
Loading…
Reference in a new issue