Correct generic payment email as per Sanghee's corrections
This commit is contained in:
parent
fcc113e9d9
commit
84056a5b36
1 changed files with 5 additions and 4 deletions
|
@ -847,14 +847,15 @@ class OrderConfirmationView(DetailView):
|
||||||
"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"
|
||||||
"We just received a payment of CHF {amount} "
|
"thank you for your order!\n"
|
||||||
"from you. {recurring}.\n\n"
|
"We have just received a payment of CHF {amount:.2f} "
|
||||||
|
"from you.{recurring}\n\n"
|
||||||
"Your DataCenterLight Team".format(
|
"Your DataCenterLight Team".format(
|
||||||
name=user.get('name'),
|
name=user.get('name'),
|
||||||
amount=gp_details['amount'],
|
amount=gp_details['amount'],
|
||||||
recurring=(
|
recurring=(
|
||||||
'This is a monthly recurring plan.'
|
' This is a monthly recurring plan.'
|
||||||
if gp_details['recurring'] else ''
|
if gp_details['recurring'] else ''
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue