Fix #391 -- Send email on cancelled order (#540)

Send a notification email to user when
order is cancelled.
This commit is contained in:
Daniel
2017-07-06 17:59:48 +08:00
committed by Raphael Michel
parent 9de9d96e35
commit d444935140
8 changed files with 66 additions and 6 deletions

View File

@@ -316,6 +316,18 @@ Please note that this link is only valid within the next {hours} hours!
We will reassign the ticket to the next person on the list if you do not
redeem the voucher within that timeframe.
Best regards,
Your {event} team"""))
},
'mail_text_order_canceled': {
'type': LazyI18nString,
'default': LazyI18nString.from_gettext(ugettext_noop("""Hello,
your order {code} for {event} has been canceled.
You can view the details of your order at
{url}
Best regards,
Your {event} team"""))
},